Hi Sajini, It can be implement using polling but if we implement using busy-waiting we can reduce the memory consume. It's discussed in mail thread[1] already to implement as busy-waiting.
[1] [Architecture] IBM MQ Inbound/Connector for WSO2 ESB On Wed, Mar 16, 2016 at 1:45 PM, Sajini De Silva <[email protected]> wrote: > Hi Rajjaz, > > Its possible to implement using polling as well I think. Is there any > specific reason why you asked to use only even-based? > > Thank you > > On Wed, Mar 16, 2016 at 1:03 PM, Rajjaz Mohammed <[email protected]> wrote: > >> Hi Anusha, >> There are 3 types of custom inbound endpoint[4] available in WSO2 ESB >> (listening[1], polling[2] and event-based[3]). IBM MQ will come under >> event-based inbound so implement your IBM MQ consumer as event-based >> inbound and implement your producer as connector[4]. >> >> [1] >> https://github.com/wso2-docs/ESB/tree/master/ESB-Artifacts/inbound/custom_inbound_listening >> [2] >> https://github.com/wso2-docs/ESB/tree/master/ESB-Artifacts/inbound/custom_inbound >> [3] >> https://github.com/wso2-docs/ESB/tree/master/ESB-Artifacts/inbound/custom_inbound_waiting >> [4] >> http://wso2experience.blogspot.com/2015/08/getting-started-with-simple-wso2-esb_22.html >> [5] >> http://wso2experience.blogspot.com/2015/09/getting-started-with-simple-wso2-esb.html >> >> >> On Wed, Mar 16, 2016 at 12:26 AM, Anusha Ihalapathirana < >> [email protected]> wrote: >> >>> Hi, >>> >>> I went through all the four references and I installed IBM WebSphere MQ >>> 7.5. After followed some tutorials I created queue manager and queue.I also >>> implemented the producer.java class to send message to queue and >>> consumer.java class to receive the message. >>> Can you please explain a bit more about the third step of the previous >>> mail? >>> >>> Thank you. >>> >>> On 11 March 2016 at 11:44, Malaka Silva <[email protected]> wrote: >>> >>>> Hi Anusha, >>>> >>>> Currently with ESB we can use JMS transport to connect to IBM MQ. Refer >>>> [1] and [2] for more info. However there are some limitations with this. So >>>> IBM provides native set of libraries to connect to their broker. >>>> >>>> After getting some understanding of JMS transport, focus on following. >>>> >>>> >>>> 1. First you should install IBM MQ 7.5. >>>> 2. Then try connection as consumer and producer from a java client. >>>> Using IBM MQ client. >>>> 3. This need to add consumer functionality to custom inbound >>>> endpoint and producer to a connector. [3] and [4] >>>> >>>> [1] https://docs.wso2.com/display/ESB490/JMS+Transport >>>> [2] https://docs.wso2.com/display/ESB490/JMS+Inbound+Protocol >>>> [3] https://docs.wso2.com/display/ESB490/Custom+Inbound+Endpoint >>>> [4] >>>> https://docs.wso2.com/display/ESBCONNECTORS/Creating+a+Third+Party+Connector+and+Publishing+in+WSO2+Connector+Store >>>> >>>> On Fri, Mar 11, 2016 at 10:27 AM, Anusha Ihalapathirana < >>>> [email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm Anusha Ihalapathirana, 3rd year (6th semester) undergraduate of >>>>> department of Computer science and Engineering, University of Moratuwa. >>>>> I'm >>>>> interested in the Native inbound and connector for IBM MQ 7.5 project >>>>> for GSoc 2016. I went through the given references and I'm looking >>>>> forward to working this Project in this Summer of Code. Please let me >>>>> know how to proceed. >>>>> >>>>> Thank you. >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Best Regards, >>>> >>>> Malaka Silva >>>> Senior Tech Lead >>>> M: +94 777 219 791 >>>> Tel : 94 11 214 5345 >>>> Fax :94 11 2145300 >>>> Skype : malaka.sampath.silva >>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>>> Blog : http://mrmalakasilva.blogspot.com/ >>>> >>>> WSO2, Inc. >>>> lean . enterprise . middleware >>>> http://www.wso2.com/ >>>> http://www.wso2.com/about/team/malaka-silva/ >>>> <http://wso2.com/about/team/malaka-silva/> >>>> https://store.wso2.com/store/ >>>> >>>> Save a tree -Conserve nature & Save the world for your future. Print >>>> this email only if it is absolutely necessary. >>>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thank you >> Best Regards >> >> *Rajjaz HM* >> Associate Software Engineer >> Platform Extension Team >> WSO2 Inc. <http://wso2.com/> >> lean | enterprise | middleware >> Mobile | +94752833834|+94777226874 >> Email | [email protected] >> LinkedIn | Blogger | WSO2 Profile >> <http://wso2.com/about/team/mohammer_rajjaz/> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sajini De SIlva > Software Engineer; WSO2 Inc.; http://wso2.com , > Email: [email protected] > Blog: http://sajinid.blogspot.com/ > Git hub profile: https://github.com/sajinidesilva > > Phone: +94 712797729 > > -- Thank you Best Regards *Rajjaz HM* Associate Software Engineer Platform Extension Team WSO2 Inc. <http://wso2.com/> lean | enterprise | middleware Mobile | +94752833834|+94777226874 Email | [email protected] LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger <http://wso2experience.blogspot.com/> | WSO2 Profile <http://wso2.com/about/team/mohammer-rajjaz/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
