webMethods and Intelligent Business Operations 10.2 | CentraSite User's Guide | Runtime Governance | Run-Time Policy Management | Built-In Run-Time Actions Reference (CentraSite Business UI) | Built-in Actions for Run-Time Policies (CentraSite Business UI) | Set JMS Headers
 
Set JMS Headers
Every JMS message includes message header properties that are always passed from provider to client. The purpose of the header properties is to convey extra information to the client outside the normal content of the message body.
When this action is configured for a proxy API, Mediator uses the JMS header properties to authenticate client requests before submitting to the native APIs.
To use this action the following prerequisites must be met:
*Create an alias to a JNDI Provider (in the Integration Server Administrator, go to Settings > Web Services).
*To establish an active connection between Integration Server and the JMS provider, you must configure Integration Server to use a JMS connection alias (in the Integration Server Administrator, go to Settings > Messaging > JMS Settings).
*Create a WS (Web Service) endpoint alias for provider Web Service Descriptor (WSD) that uses a JMS binder. In the Integration Server Administrator, navigate to Settings > Web Services and complete the Alias Name, Description, Descriptor Type, and Transport Type fields.
*Configure a WS (Web Service) endpoint trigger (in the Integration Server Administrator, go to Settings > Messaging > JMS Trigger Management).
*Create a WS (Web Service) endpoint alias for consumer Web Service Descriptor (WSD) that has a JMS binder. In the Integration Server Administrator, navigate to Settings > Web Services and complete the Alias Name, Description, Descriptor Type, and Transport Type fields.
For detailed instructions, see webMethods Integration Server Administrator’s Guide.
Input Parameters
Header
(String). The JMS message headers that Mediator uses to authenticate incoming requests for the native API. To add additional rows, use the plus button.
Value
Description
Name
(String). A name for the JMS message header field. The header field name ($field) is not case sensitive.
Value
(String). A value for the JMS message header field.
Settable JMS Header Properties
Property Name
Property Type
Getter Method
Message ID
string
getJMSMessageID()
Priority
int
getJMSPriority()
Time To Live
long
getTimeToLive()
Delivery Mode
int
getJMSDeliveryMode()
Message Expiration
long
getJMSExpiration()
Correlation ID
string
getJMSCorralationID()
Redelivered
boolean
getJMSRedelivered()
Time Stamp
long
getJMSTimeStamp()
Type
string
getJMSType()

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release