JMS/AMQP SOAP Routing
If you are using JMS with Message broker native protocol support
ensure that following actions are performed before using the Enable JMS/AMQP
policy:
- Create an alias to a JNDI Provider For a detailed procedure, see Creating a JNDI Provider Alias.
- Configure webMethods API Gateway to use a JMS connection alias to establish an active connection between webMethods API Gateway and the JMS provider. For a detailed procedure, see Creating a JMS Connection Alias.
- Create a WS (Web Service) JMS Provider endpoint alias and configure the Alias, Description, Type (Provider), Transport Type (JMS) fields and JMS Transport Properties. For a detailed procedure, see Creating an Endpoint Alias for a Provider Web Service Descriptor.
- Configure a WS (Web Service) endpoint trigger. For detailed procedures, see Updating JMS triggers.
If you are using JMS with AMQP protocol support, ensure that you have configured webMethods API Gateway for JMS with AMQP. For details, see Configuring webMethods API Gateway for JMS with AMQP Protocol.
The table lists the properties that you can specify for this policy:
Property | Description | |
---|---|---|
Connection URL | Provide a connection alias
for connecting to the JMS provider (for example, an
Integration Server alias or a JNDI URL). The connection URL contains various
elements that construct the destination and other connection specific
parameters. The structure of the connection URL is:
<protocol>:<lookupVariant>:<destination>?<parameters>
where
Sample: With consumer endpoint alias
Sample: With JNDI lookup parameters
Sample: With JNDI lookup parameters for AMQP protocol
|
|
Reply To Destination | Specify a queue name where a reply to the message must be sent. | |
Priority | Type an integer that
represents the priority of this JMS or AMQP message with respect to other
messages that are in the same queue. The priority value determines the order in
which the messages are routed. The lowest priority value is 0 and the highest
priority value is 9. The messages with this priority value are executed first.
|
|
Time to Live (ms) | Provide a numeric value
that specifies the expiration time (in milliseconds) of the JMS or AMQP
message.
If the time-to-live is specified as zero, expiration is set to zero which indicates the message does not expire. The default value is 0. |
|
Delivery Mode | The message delivery mode
for the request message. This is the delivery mode that web service clients
must specify in the JMS or AMQP message that serves as the request message for
the web service. The available options are:
|