Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I create a JMS client connection?

How do I create a JMS client connection?

by  pmeekin  Posted    (Edited  )
On the Destination (i.e. the Queue or Topic) use methods:

setHostName(target.hostname)
setPort(nnnn)
setTransportType(type)

where type is:
JMSC.MQJMS_TP_BINDINGS_MQ for local connections or
JMSC.MQJMS_TP_CLIENT_MQ_TCPIP for MQ client connections

Note that this should work either within the program or for objects defined via JNDI.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top