Learning RabbitMQ by Martin Toshev

Learning RabbitMQ by Martin Toshev

Author:Martin Toshev [Toshev, Martin]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2015-12-27T16:00:00+00:00


The locked attribute specifies that the parameters cannot be overridden by a WSO2 service. Add the following to configure the RabbitMQ transport sender in the axis2.xml configuration file:

<transportSender name="rabbitmq" class="org.apache.axis2.transport.rabbitmq.RabbitMQSender"/>

Apart from this, the ESB runtime may not need to load the RabbitMQ transport libraries (even though they have been installed from the p2 repository), and so you may need to copy them from the p2 repository to the <wso2_install_path>\repository\components\lib directory. As the libraries might be a little outdated with regard to the version of RabbitMQ that you are using, you can also download the source code of the WSO2 transports from GitHub, build the Maven project for the RabbitMQ transport, and replace the old version in the preceding directory. You need to make sure that the version of the transport library works with your version of the RabbitMQ broker.

After you have installed the RabbitMQ AMQP transport and added the configuration for the sender and receiver, restart the WSO2 server in order to load the new feature along with the configured transports.

Now, we are ready to configure a proxy service that will allow us to transfer messages from test-queue to test-destination-queue using the WSO2 ESB.

First, create an endpoint that will be used by the RabbitMQ transport sender by navigating to Main -> Endpoints -> Add Endpoint -> Address Endpoint:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.