com.apama.correlator.jms
Event JMSSenderConfiguration


An event object representing the configuration of a new JMS sender, for dynamically adding JMS senders at runtime.

Call JMSConnection.createSenderConfiguration() to create an instance, and then use the setter actions to specify each required configuration option. Each setter method returns this configuration instance to make it possible to chain calls and specify all required options in a single statement.
See Also:
com.apama.correlator.jms.JMSConnection#createSenderConfiguration() - Creates a new JMSSenderConfiguration event object.
com.apama.correlator.jms.JMSConnection#addSenderWithConfiguration() - Uses a JMSSenderConfiguration to add a new JMS sender.

Action summary
 stringgetConnectionId()

The identifier of the connection this sender belongs to.
 stringgetMessageDeliveryMode()

Specifies the message delivery mode to use for messages from this sender.
 stringgetSenderId()

The unique identifier of this sender.
 stringgetSenderReliability()

Specifies the reliability mode to use for messages from this sender.
 com.apama.correlator.jms.JMSSenderConfigurationsetMessageDeliveryMode(string value)

Specifies the message delivery mode to use for messages from this sender.
 com.apama.correlator.jms.JMSSenderConfigurationsetSenderReliability(string value)

Specifies the reliability mode to use for messages from this sender.
 
Action detail

getConnectionId

            string getConnectionId()
        
The identifier of the connection this sender belongs to.

getMessageDeliveryMode

            string getMessageDeliveryMode()
        
Specifies the message delivery mode to use for messages from this sender.

getSenderId

            string getSenderId()
        
The unique identifier of this sender.

getSenderReliability

            string getSenderReliability()
        
Specifies the reliability mode to use for messages from this sender.

setMessageDeliveryMode

            com.apama.correlator.jms.JMSSenderConfiguration setMessageDeliveryMode(string value)
        
Specifies the message delivery mode to use for messages from this sender.

This can be used only for non-reliable BEST_EFFORT senders. It is ignored for reliable senders which always use PERSISTENT message delivery mode.
Parameters:
value - Must be one of the enumeration constants from the JMSMessageDeliveryMode event, or "" to indicate that the default mode will be used
See Also:
com.apama.correlator.jms.JMSMessageDeliveryMode - 

setSenderReliability

            com.apama.correlator.jms.JMSSenderConfiguration setSenderReliability(string value)
        
Specifies the reliability mode to use for messages from this sender.
Parameters:
value - Must be one of the enumeration constants from the JMSSenderReliability event, or "" to indicate that the connection's defaultSenderReliability should be used.
See Also:
com.apama.correlator.jms.JMSSenderReliability -