Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problemwith MessageDriven Bean

 
blv krishna
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi gurus,

i have a problem with MDB. my scenario is i need two JMS Queues and two listners for the queues. for that i have created two connection factories and two destination resources in glasshfish admin console.

Connection Factories:1.jms/testfact1
2.jms/testfact2

Destination Resources 1.jms/testdest1
2.jms/testdest2

MDB 1:

PROBLEM IS WHEN I EXECUTE CLINT1 , SOMETIMES THE MDB1 IS RECEIVING THE MESSAGE AND SOME TIMES MDB2 IS RECEIVING MESSAGE. SAME WITH CLIENT 2 ALSO.......PLEASE HELP ME TWO RESOLVE THIS PROBLEM

REGARDS
GURU...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.

I've also moved this to the JEE forum.
 
blv krishna
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.

I've also moved this to the JEE forum.


i have solved the problem by own

thanks

Guru....
 
Greg Schultz
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what was the fix?
 
blv krishna
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg Schultz wrote:So what was the fix?


problem is all resource destinations are having the same physical destinations. so i have created the separete physical destination for each resource destination.

regards
Guru..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic