We have a following use case "To read jms messages from weblogic jms queue, whenever needed". For e.g whenever a webservice[Osb Proxy service] is invoked in that proxy service request pipleline, we need to read messages from jms queue and publish to anohter jms queue. The jms messages should be read only when the webservice is invoked. We have to implement the above requirement in OSB or using BPEL.
As of now In OSB we have implemented above requirement as follows In osb proxy service we are using java callout to read jms messages. Please let me know is there any other option available to implement the above requirement. If there are better options available in BPEL, please let me know.