| Author |
[EJB3]MessageDriven bean never catch message
|
mick keu
Greenhorn
Joined: Aug 13, 2008
Posts: 2
|
|
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.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8142
|
|
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?
|
[My Blog] [JavaRanch Journal]
|
 |
mick keu
Greenhorn
Joined: Aug 13, 2008
Posts: 2
|
|
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.
|
 |
 |
|
|
subject: [EJB3]MessageDriven bean never catch message
|
|
|