aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Question" Watch "JMS Question" New topic
Author

JMS Question

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
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

Joined: Oct 16, 2000
Posts: 360
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
Andrew Bowes
Greenhorn

Joined: Apr 18, 2005
Posts: 6
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Question
 
Similar Threads
Invoke a class from different context
ok new question...
JMS design question
JBoss in Action: different class loaders for each web application
Session is not invalidated