Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Different port for JMS communication  RSS feed

 
Bk Jacky
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am creating jms client to connect with remote message server.

I have remote JMS server who have two ports for management 2500 and messaging 2510

When i am trying to connect with server using port 2510

env.put(Context.PROVIDER_URL, "tcp://193.143.44.67:2510");

it is giving javax.naming.NamingException exception ...

but i am able connect with sever port 2500 but not able to send message.. i can only send message through port 2510..

is there any way where i can connect through port 2500 and send message through port 2510 in same client?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!