In this sample we are using a proxy service exposed over AMQP (note the transports=amqp attribute). If you check the WSDL of the proxy service using a web browser, you will notice that it only has AMQP endpoints.
Run the sample RabbitMQ AMQP client by switching to the samples/axis2Client directory and executing the following command. Other options that can be passed into the RabbitMQ client can be found by just executing 'ant'.
This will send a plain XML formatted place order request to a queue in the RabbitMQ broker. The queue is named 'ConsumerProxy'. Synapse will be polling on this queue for any incoming messages so it will pick up the request. A message similar to following will be logged on the console indicating that the message has been received at the proxy service.
Note that the operation is out-only and no response is sent back to the client. The content type of the message can be configured using the parameter transport.amqp.ContentType and by default this is assumed to be application/xml.
Above parameter defines the name of the connection factory that should be used. If a specific connection factory is not given the default connection factory will be used.
Above parameter defines the queue to which the proxy service will connect and start to listen. The other configuration parameters and more examples of AMQP transport can be found in the AMQP transport documentation.