Java Integration
Transform Anything with Java
Writing Message to a JMS Queue
1. Open SBConsole > Create a Session
2. Click on Projects > Create a Project Named write_jms. Also create a folder named Buxiness Services.

3. Create a Resource > Select Business Services. Name it as bzWriteJMS.
4. Choose Messaging Service as Service Type and click Next.

5. On the message type configuration choose Request Message Type as Text and Response Message type as None and click Next.

6. On the Transport Configuration step choose jms as Protocol.
7. We will have to add a URL to connect to JMS. Use any JMS Queue Name. I have created one as jms.DestinationQueue. So I will use the URI jms://localhost:7001/weblogic.jms.XAConnectionFactory/jms.DestinationQueue and click Next

8. On the JMS Transport Configuration, choose Destination Type as Queue and Message Type as Text. .
9. Now go to the last step.
10. Save and commit the OSB Session.
11. Test the OSB Business Service with a test message.


12. This concludes our simple JMS Producer OSB Service. We will work on the Transport Headers in runtime in the next Exercise.