Jem, A couple of things, first off, IBM MQ provides two Java APIs. The first is a native MQ API, but they also provide a more generic MQ version as well. The samples in the examples/jms-binding make use of JMS Topics. They'd have to be modified to use Queues in order to work with IBM MQ. The code seems to support both models, but I haven't had a chance to test it. Alternatively, if you want to use JCA, Librados sells an IBM MQ adaptor. Hopefully this helps.
________________________________ From: Sami Dalouche [mailto:[EMAIL PROTECTED] Sent: Fri 9/9/2005 12:39 PM To: [email protected]; Day, Jem BGI SF Cc: [email protected] Subject: RE: [servicemix-user] Servicemix and IBM MQ Jem, Too bad you're stuck to using IBM MQ if they don't support JCA. However, I think it'd be easier to just bypass JmsTemplate and still use the JMS API to communicate with IBM MQ, unless you need distributed transactions (well, even like this, it should be doable to hook some distributed transaction manager manually). Good luck with your integration ;) Regards, Sami Dalouche Quoting "Day, Jem BGI SF" <[EMAIL PROTECTED]>: > > Sami, > > Thanks for the info, we've been scouring the web trying to find a JCA > adaptor > for IBM MQ as they don't appear to provide one as far as i can see. > > We do utilize their JMS API(s) at present but moving to JCA would appear to > be > a more appropriate solution. > > Maybe we'll end up writing our our ResourceAdaptor, unless anybody else can > point us at something!! > > Thanks again > > Jem... > > -----Original Message----- > From: Sami Dalouche [mailto:[EMAIL PROTECTED] > Sent: Friday, September 09, 2005 10:27 AM > To: [email protected]; Wang, Han BGI SF > Cc: [email protected] > Subject: Re: [servicemix-user] Servicemix and IBM MQ > > > Hi, > > I don't personnally know IBM MQ, but if IBM MQ provides a JAVA API (and it > does), then you can have it communicate with ServiceMix. > > > I guess that IBM MQ provides two interfaces to communicate : > - Java Connector Architecture (JCA) CGI > - JMS Interface. > > You can use both with JBI, however, consider the fact that : > - If you plan to use Inbound communications (JMS to JBI), you might prefer to > use the JCA connector, since Spring does not work for asynchronous receiving > (yet). You can bypass Spring JMS Templates (see Spring documentation for how > to > use the JMS Templates), but it's not really handy. > - For outbound communication, spring JMS templates are easier to use than > JCA. > > You should take a look at serviceMix's source code in > org.servicemix.components.jms.* and the examples/jms-binding/* files. > jms-binding provides an example of receiving asynchronously using JCA and > sending using JmsTemplate. > > You can then tweak the servicemix.xml file so that it uses IBM's JCA > connector > instead of ActiveMQ's one. > > Regards, > Sami Dalouche > > > Quoting "Wang, Han BGI SF" <[EMAIL PROTECTED]>: > > > Hi, > > Can servicemix team up with IBM MQ instead of ActiveMQ? If possible, > > please give me a hint. Thanks !! > > > > Regards, > > > > Han Wang > > Technology Analyst > > Phone: +1 (415) 908-7960 > > Fax: +1 (415) 618-5447 > > > > 45 Fremont Street > > Barclays Global Investors > > San Francisco > > CA, 94105 > > United States > > __________________________________ > > BARCLAYS GLOBAL INVESTORS > > > > > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
