DownstreamMessagePushDefinition for JMS
DownstreamMessagePushDefinition defines message delivery using JMS protocol. DownstreamMessagePushDefinition for JMS requires the following details.
<ProviderUrl> </ProviderUrl>
<ConnectionFactory> </ConnectionFactory>
<JMSdestination> </JMSdestination>
<JMSDeliveryMode> </JMSDeliveryMode>
<JMSPriorityLevel> </JMSPriorityLevel>
<JMSTimetoLive> </JMSTimeToLive>
<JMSAcknowledgement> </JMSAcknowledgement>
DownstreamMessagePush Elements and Attributes
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Value |
| <DownstreamMessagePushDefinition> |
|
|
Opening and closing t tag for DownstreamMessagePushDefinition rule. |
|
| <Event> |
|
<DownstreamMessagePushDefinition> | Required and Repeatable element: Specifies required event details. Event is repeatable with different Event environments. | |
|
|
EVENTNAME | <Event> | Name of the event | Required:
Note: If the EVENT value in PushNotifications does not match with any EVENT NAME value in DownstreamMessagePushDefinition, system displays an error message. |
|
|
EVENTMETHOD | <Event> |
|
Required: EventMethod can be JMS |
|
|
ENV | <Event> |
|
Required: ENV can be Test/Prod/Dev to support SDLC. For same event there can be multiple destination addresses to support different environments. Note: If messages from multiple events in the PushNotifications fails due to ENV value mismatch between PAS properties and DownstreamMessagePushDefinition,multiple,errors one for each EVENT will get displayed. |
| <JmsConfiguration> |
|
<Event> | Opening tag for Address details. Contains required details to make service calls. | |
| <ProviderUrl> |
|
<JmsConfiguration> | Required: This element identifies the provider Url with port number. |
|
| <ConnectionFactory> |
|
<JmsConfiguration> | Required: Value of this element can be the connection factory name. |
|
| <DestinationName> |
|
<JmsConfiguration> | Required: Queue or Topic name |
|
| <DeliveryMode> |
|
<JmsConfiguration> | Optional: As per JMS standards |
|
| <PriorityLevel> |
|
<JmsConfiguration> | Optional: As per JMS standards |
|
| <TimetoLive> |
|
<JmsConfiguration> | Optional:As per JMS standards |
|
| <AcknowledgementMode> |
|
<JmsConfiguration> | Optional:As per JMS standards |
|
| <MaxTimeOut> |
|
<JmsConfiguration> |
Required: It is the time an activity waits before timeout. |
Value entered should be in milliseconds. Value: Recommended timeout period is 100ms. |
| <Security> |
|
<Event> | Defines security details. |
|
|
|
TYPE | <Security> | Name of the security type |
Required Values: HTTP,WSS |
| <UserName> |
|
<Security> | Required: Includes user details for authentication | |
| <Password> |
|
<Security> | Required: Includes password details for authentication |
|
XML Schema
<DownstreamMessagePushDefinition>
<Event EVENTNAME=" " EVENTMETHOD="JMS" ENV=" ">
<JmsConfiguration>
<ProviderUrl> </ProviderUrl>
<ConnectionFactory> </ConnectionFactory>
<DestinationName> </DestinationName>
<DeliveryMode> </DeliveryMode>
<PriorityLevel> </PriorityLevel>
<TimetoLive> </TimetoLive>
<AcknowledgementMode> </AcknowledgementMode>
<MaxTimeOut> </MaxTimeOut>
</JmsConfiguration>
<Security>
<UserName> </UserName>
<Password> </Password>
</Security>
</Event>
</DownstreamMessagePushDefinition>
XML Example
<DownstreamMessagePushDefinition>
<Event EVENTNAME="Event two" EVENTMETHOD="JMS" ENV="Test">
<JmsConfiguration>
<ProviderUrl>http://192.168.4.11:8011 </ProviderUrl>
<ConnectionFactory> </ConnectionFactory>
<DestinationName> </DestinationName>
<DeliveryMode> </DeliveryMode>
<PriorityLevel> </PriorityLevel>
<TimetoLive> </TimetoLive>
<AcknowledgementMode> </AcknowledgementMode>
<MaxTimeOut> </MaxTimeOut>
</JmsConfiguration>
<Security>
<User> </User>
<Password> </Password>
</Security>
</Event>
<EVENT EventNAME="Event two" EVENTMETHOD="JMS" ENV="Prod">
<JmsConfiguration>
<ConnectionFactory> </ConnectionFactory>
<DestinationName> </DestinationName>
<DeliveryMode> </DeliveryMode>
<PriorityLevel> </PriorityLevel>
<TimetoLive> </TimetoLive>
<AcknowledgementMode> </AcknowledgementMode>
<MaxTimeOut> </MaxTimeOut>
</JmsConfiguration>
<Security>
<User> </User>
<Password> </Password>
</Security>
</Event>
<DownstreamMessagePushDefinition>