• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

JMS Question

 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We have an application (let's call it "MainApp") which is running on JBoss 4. We need to create one Queue using JMS in this app. We also need to create one java class which retrieves message from this Queue for further processing.

There are coulpe of other applications (let's call them "App1" & "App2") on the same network which will put messages in the Queue in MainApp. My question is how can these 2 apps access Queue in MainApp ? App1 is a .NET app and App2 is a J2EE app.

I really appreciate any suggestions.

Thanks
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I did more research and found that I could user JNDI to access Queue in MainApp from App1. But I'm not clear about the syntax. Can I use the IP address to access queue in MainApp ?

Thanks
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dilip

I don't know what J2EE Server you are using but here is an exmaple for jBoss that should get you started.



Hope this Helps
[ May 26, 2005: Message edited by: Andrew Bowes ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic