Top Banner
34

Implementing JMS Integration Solutions with WSO2 ESB

Dec 07, 2014

Download

Technology

WSO2

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Implementing JMS Integration Solutions with WSO2 ESB
Page 2: Implementing JMS Integration Solutions with WSO2 ESB

Page 3: Implementing JMS Integration Solutions with WSO2 ESB

Page 4: Implementing JMS Integration Solutions with WSO2 ESB
Page 5: Implementing JMS Integration Solutions with WSO2 ESB

Page 6: Implementing JMS Integration Solutions with WSO2 ESB

Introducing WSO2 ESB

Page 7: Implementing JMS Integration Solutions with WSO2 ESB

Page 8: Implementing JMS Integration Solutions with WSO2 ESB

Page 9: Implementing JMS Integration Solutions with WSO2 ESB
Page 10: Implementing JMS Integration Solutions with WSO2 ESB

dest = (Destination) jndiContext.lookup(destName);queue = (Queue) jndiContext.lookup(queueName);

MessageProducer producer = session.createProducer(dest);TextMessage message = session.createTextMessage();message.setText(“Hello”);producer.send(message);

Message Producer

Message Consumer

Message Broker

dest = (Destination) jndiContext.lookup(destName);queue = (Queue) jndiContext.lookup(queueName);

MessageConsumer consumer = session.createConsumer(dest);Message m = consumer.receive();

Page 11: Implementing JMS Integration Solutions with WSO2 ESB

Page 12: Implementing JMS Integration Solutions with WSO2 ESB

Page 13: Implementing JMS Integration Solutions with WSO2 ESB

Page 14: Implementing JMS Integration Solutions with WSO2 ESB

๏<transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">

<parameter name="myTopicConnectionFactory" locked="false"> <parameter name="java.naming.factory.initial" locked="false">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter>

<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter><parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">TopicConnectionFactory</parameter><parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>

</parameter>

<parameter name="myQueueConnectionFactory" locked="false"><parameter name="java.naming.factory.initial" locked="false">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter><parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter><parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>

<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter></parameter>

<parameter name="default" locked="false"><parameter name="java.naming.factory.initial" locked="false">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter><parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter><parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter><parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>

</parameter></transportReceiver>

Page 15: Implementing JMS Integration Solutions with WSO2 ESB
Page 16: Implementing JMS Integration Solutions with WSO2 ESB

Page 17: Implementing JMS Integration Solutions with WSO2 ESB

Page 18: Implementing JMS Integration Solutions with WSO2 ESB

Page 19: Implementing JMS Integration Solutions with WSO2 ESB

Page 20: Implementing JMS Integration Solutions with WSO2 ESB

Page 21: Implementing JMS Integration Solutions with WSO2 ESB

Page 22: Implementing JMS Integration Solutions with WSO2 ESB

Client ESB

Topic

Subscriber

Subscriber

Subscriber

Page 23: Implementing JMS Integration Solutions with WSO2 ESB

Page 24: Implementing JMS Integration Solutions with WSO2 ESB

Page 25: Implementing JMS Integration Solutions with WSO2 ESB

Page 26: Implementing JMS Integration Solutions with WSO2 ESB

(3) Send/Retry on failure

Page 27: Implementing JMS Integration Solutions with WSO2 ESB

Page 28: Implementing JMS Integration Solutions with WSO2 ESB
Page 29: Implementing JMS Integration Solutions with WSO2 ESB

JMS Client WSO2 Message Broker ESB Proxy Service

Page 30: Implementing JMS Integration Solutions with WSO2 ESB

HTTP Client ESB Proxy Service WSO2 Message Broker

Data Service

Page 31: Implementing JMS Integration Solutions with WSO2 ESB
Page 33: Implementing JMS Integration Solutions with WSO2 ESB
Page 34: Implementing JMS Integration Solutions with WSO2 ESB