• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

problemwith MessageDriven Bean

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So what was the fix?
 
blv krishna
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic