• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Different port for JMS communication

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic