user2010955
user2010955

Reputation: 4011

Java Send message on Foreign JMS Server/Queue

I need to send a message from my web application to a foreign JMS server.

I'm using WebLogic and I've already configured a Foreign JMS Server/ConnectionFactory/Queue.

Regarding the Java code, should this code works also for a foreign JMS server?

I've tried, but I got an error, but... should it works?

Thanks

Upvotes: 0

Views: 918

Answers (1)

AlexR
AlexR

Reputation: 115328

Actually yes, it is expected to work because JMS client that you configured should hide from you the gory details of transport and inter-process and inter-computer communication. Just make sure that other side is available and accessible via network. First check ping, then check firewall definition (if there is a firewall between two sides.)

Upvotes: 0

Related Questions