• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

[EJB3]MessageDriven bean never catch message

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
I hope someone could help me fixing my pb.

I've created a session bean that send a message in a queue (TaskMessagesQueue):




I've got a MessageDriven Bean that should catch the message (i use a "message selector"):


But it's not working... the message is never catch by the messageDriven bean...

the queue have bean created in Jboss...

<?xml version="1.0" encoding="UTF-8"?>



I've certainly miss something, but where...
If someone can help me...
Many thanks

ps : I hope I did not make too many mistakes, cause i don't really speak english.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mick,

Welcome to JavaRanch

i use a "message selector"



I would suggest that you first get the application working without the message selector. If that works, then we know exactly where to concentrate to fix the problem. Message selectors follow a specific syntax (i don't have the document which is usually refer to, right now).

If it still does not work without the message selector, then post the console log from JBoss. By the way, which version of JBoss and Java do you use?
 
mick keu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Jaikiran !
Thanks for reply.

I tried to remove the message selector, without success...
Finally, i managed to get it working, changing :



by


So my problem seems to be solved. Perhaps it will be usefull for someone else.

Thanks for help.

PS : For information, i used JBOSS 4.2.2 GA and Java JDK 1.5.012.
 
Those are the largest trousers in the world! Especially when next to this ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic