Hi All,
Today i am going to explain how to insert data in JMS queue using OSB business WS, this business WS will be called from other OSB proxy WS.
In my case implementation, OSB proxy WS call a BPEL WS using SOA-DIRECT, in BPEL end DIRECT BINDING is used so OSB WS can call this WS using soa-direct.
In this case, when BPEL WS will be down or BPEL server is down, the OSB WS proxy request data will be stored in a queue, and later a polling WS will read that data from JMS queue and will perform the task for the data.
Implemenation:
1 Business service for JMS queue
1 Business service for BPEL
1 Proxy WS.
Configuration Business service for JMS queue:



Business service for BPEL:
Proxy WS:

Now here we comes with the configuration of JMS queue over the server, whose IP and Port we mapped in the business service.
Create persistent store with DB or file.
Create one store and forward manager so it can manage all message that will be put in the persistence store.
Create one JMS Server:
Create one JMS Module, inside JMS module create one connection factory and JMS queue, JMS Modile sub-module where data will be written.


Here we done ,when ever BPEL server or the service will be done, request data will be sent to this JMS queue.
Comments
Post a Comment