Mule AMQP Connector

12
Mule AMQP Connector BY – ANKUSH SHARMA

Transcript of Mule AMQP Connector

Mule AMQP ConnectorBY – ANKUSH SHARMA

What is Mule AMQP Connector?

The AMQP connector defines what broker to connect to, which credentials to use when connecting, and all the common properties used by the inbound and outbound endpoints that use this connector.

Mule AMQP Connector – Connector Configuration (General Tab) (Cont.)

Mule AMQP Connector – Connector Configuration (General Tab)

Following are the options on general tab – Display Name – The name of the connector to be displayed in Mule

flow. Exchange Name – The exchange to be published or bind queues to. Queue Name – The queue name of consumer from. Routing Key – Comma separated routing keys used while binding

queues. Consumer Tag – A client-generated consumer tag to establish

context. Exchange Type – The type of exchange to be declared. Number of Channels – Set number of channels to be used to receive

AMQP messages.

Mule AMQP Connector – Connector Configuration (Advanced Tab) (Cont.)

Mule AMQP Connector – Connector Configuration (Advanced Tab)

Following are the options on advanced tab – Address – Address to this connector. Response Timeout – Response timeout time in milliseconds. Encoding – Encoding standard to be applied on message data. MIME Type – MIME Type of the message data e.g. application/json. Exchange Patterns – Exchange pattern to be used with this

connector.

Mule AMQP Connector – Connector Configuration (Reconnection Tab) (Cont.)

Mule AMQP Connector – Connector Configuration (Reconnection Tab)

Following are properties on reconnection tab – Do not use a Reconnection Strategy – This is the default radio button which specifies do

not try to reconnect if there is error connecting to the web address URL. Standard Reconnection – Use this radio button to enable a standard reconnection

strategy. Frequency (ms) – The frequency time in milliseconds after which the AMQP connector will try

to access the web address URL. Reconnect Attempts – This tells how many times the AMQP connector will try to connect to

web address URL. Reconnector Forever – Check this box if there is need to make AMQP connector connect to

web address URL until there is a successful connection with it. Custom Reconnection – Use this radio button to create a custom Reconnection strategy.

Class – The java class which will come in action after a failed connection attempt. Run the connection in a separated thread – Check this box if there is need to use this custom

reconnection operation in separate thread.

Mule AMQP Connector – Connector Configuration (Reference Tab) (Cont.)

Mule AMQP Connector – Connector Configuration (Reference Tab)

Following are the options on reference tab – Connector Reference – This attribute is used to select a global

connector configuration. Endpoint Reference – This attribute is used to select a global

endpoint configuration. Transformers References – This attribute is used to add various

transformers to transform specific data in message payload.

Mule AMQP Connector – Connector Configuration (Notes and Meta-Data Tabs)

Notes tab - This tab is used to add special notes for the MULE AMQP connector.

Metadata tab – This tab is used to add any metadata entry for MULE AMQP connector.

Thank You!