50 likes | 343 Views
Mapping JMS Messages onto WebSphere MQ Messages. JMS Client. Queue Manager. JMS Client. Mapping. Mapping. Header. MQMD. Header. Properties. RFH2. Properties. Copying. Copying. Body. Body. Body. JMS Message. MQ Message. JMS Message. MQRFH2. Fixed part. Variable part. MQRFH2.
E N D
Mapping JMS Messages onto WebSphere MQ Messages JMS Client Queue Manager JMS Client Mapping Mapping Header MQMD Header Properties RFH2 Properties Copying Copying Body Body Body JMS Message MQ Message JMS Message
MQRFH2 Fixed part Variable part MQRFH2
Mapping JMS Messages onto WebSphere MQ Messages for Non-JMS Clients JMS Client Queue Manager Non-JMS Client Mapping Header MQMD Properties MQMD Copying Copying Body Body Body JMS Message MQ Message MQ Message JMS Administered object: DEFINE QUEUE(name) TARGCLIENT(MQ)
INPUT.QUEUE Level of administration queue = (Queue)ctx.lookup("InQueue"); qSender = qSession.createSender(queue); qSender.setDeliveryMode( DeliveryMode.PERSISTENT/ DeliveryMode.NON_PERSISTENT); JMS Client MQQueue DEFINE QUEUE(InQueue)+ QUEUE(INPUT.QUEUE)+ QMGR(QM.TEST)+ PERSISTENCE(APP/QDEF/PERS/NON) WebSphere MQ DEFINE QLOCAL(INPUT.QUEUE)+ DEFPSIST(YES/NO)