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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQSeries java jms

Status
Not open for further replies.

manrubiano

Programmer
May 10, 2001
3
AU
There are two connection options between MQ JAVA and MQSeries, bindings mode and MQSeries client using TCP/IP. My question is regarding what has to be set up if running the client from a Sun Solaris box, and the MQSeries in an AS/400

Solaris: JDK1.3, MQSeries Classes for java and MQSeries Classes for JMS (MA88)
MQSeries Application Messaging Interface (MA0F)
MQSeries Client for Sun Solaris v5.1 (MAC9)
MQSeries Publish/Subscribe (MA0C)

AS/400: MQSeries
AS/400 Developer for Java kit (5769-JV1)
QShell Interpreter OS/400 (5769-SS1) Option 30
MQSeries classes for Java and MQSeries classes for JMS (MA88)
MQSeries Application Messaging Interface (MAOF)

Will the above configurations allow me to run an MQSeries client in the Solaris box to connect to the MQSeries in the AS/400 and perform all JMS functions (ie subscribe to a Topic, or produce messages to a Topic or Queue) ?
Thanks,
 
MQSeries binding mode is where the client connects to an MQ Manager in the local host. If you wish to have messages persist on the Solaris host prior to sending to the AS/400 (best option), then run MQ Manager on BOTH hosts, and use binding mode on both client and server software (The only connections between client and server are then private "channels" between the MQ Managers.

Alternatively use client over tcp/ip to remote AS/400 MQ Manager (but remember, AS/400 has to be always available).

Hope this helps...
 
Yes, your configuration will allow you to do full JMS transfers from Solaris to AS/400. However, as I do not believe that the Publish/Subscribe feature is yet supported on AS/400 your topic-based messages will not be delivered correctly.

You could probably kludge an AS/400 subscription using remote queues to a Solaris Queue Manager with the pub/sub support pac but I definitely wouldn't recommend it. You can either use a JMS client from the AS/400 to a Solaris Queue Manager with pub/sub, or wait for MQSI V2 for AS/400 - ooops, I mean iSeries ;-)
Cheers,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top