Thanks Gert ! Since I will have to poll the queues should I be extending the PollingEndpoint ? Unlike JMS , this component will have to keep polling the queues for the message...
Also , I noticed some different implementations for JMS and FTP in the following locations. Note sure which one should I use and would be easy to change for MQ.. There is a JMS implementation in : common\servicemix-components\src\main\java\org\apache\servicemix\components\jms and then one in : src\deployables\bindingcomponents\servicemix-jms\src\main\java\org\apache\servicemix\jms The FTP or File poller seems like a starting point : src\deployables\bindingcomponents\servicemix-ftp\src\main\java\org\apache\servicemix\ftp or src\common\servicemix-components\src\main\java\org\apache\servicemix\components\file The filepoller extends the PollingComponentSupport thanks Pat Gert Vanthienen wrote: > > L.S., > > > To my knowledge, this binding component doesn't already exist. I always > use JMS to access WebSphere MQ, but it will be a great feature to be able > to support the MQI directly. > > There is a tutorial on the ServiceMix website [1], which introduces you > into building a BC component (e.g. using the maven archetype to get your > project up and running) and shows you the relevant methods to implement. > Afterwards, you probably want to take a look at HTTP/JMS for more detailed > examples. > > JmsProviderEndpoint and JmsConsumerEndpoint would be good starting points: > these are the JMS endpoints that are have recently been added (targeted > towards release 3.2) so they are fairly 'clean'. Feel free to ask for > help whenever you need it... Also, if you need someone to help you test > this, I can always help you out (replacing my own JMS based > implementations with the new MQI BC). > > > Regards, > > Gert Vanthienen > > [1] http://incubator.apache.org/servicemix/hello-world-bc.html > > > apinke wrote: >> >> Is there a binding component for MQSeries that uses the MQI Interface >> instead of the JMS interface ? >> >> There seems to be one under development at Glassfish ( >> http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=MQSeriesBC) but I am >> not sure of the status. >> >> In case there is none , are there any guidelines on how to write a BC ? I >> can try and rollup one on my own but do I have to take a look at the HTTP >> or JMS source and understand how to write the BC or is there some >> document that describes the steps ? >> >> thanks >> Pat >> > > -- View this message in context: http://www.nabble.com/BC-for-MQSeries-tf3782384s12049.html#a10732824 Sent from the ServiceMix - User mailing list archive at Nabble.com.
