From: Tim A. <tm...@ne...> - 2005-11-29 03:55:33
|
You haven't given a great deal of information about what you are tring to achieve. >> There is an application which is using TIBCO for some messaging service. >> I want to pass message form >> TIBCO to the OpenJMS server and then within >> OpenJMS Server application I have a logic for Integrating those messages If you are using TIBCO JMS, then you can subscribe to TIBCO messages, and republish them to OpenJMS e.g: Destination tibDest = // get TIBCO destination to consume from Session tibSession = tibConn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer tibCons = tibSession.createConsumer(tibDest); Destination openjmsDest = // get OpenJMS dest to republish to Session openjmsSession = openjmsConn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer openjmsProd = openjmsSession.createProducer(openjmsDest); tibConn.start(); openjmsConn.start(); Message message = tibCons.receive(); if (message != null) { openjmsProd.send(message); } If you are using a non-JMS TIBCO API (e.g Rendezvous) then you will need to write an adapter to translate from the TIBCO message API to JMS. -Tim _____ From: ope...@li... [mailto:ope...@li...] On Behalf Of Praveen Upadhyay Sent: Monday, 28 November 2005 11:09 PM To: ope...@li... Subject: [openjms-user] TIBCO and OpenJMS Please help in more detail. I am novice about the topic. |