This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[EJB3]MessageDriven bean never catch message

 
mick keu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic