org.controlhaus.jms
Annotation Type JMSControl.Destination


@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public static @interface JMSControl.Destination

The JMS destination annotation for a extended class method.


Required Element Summary
 String jndiConnectionFactory
          The JNDI name of queue connection factory.
 String sendJndiName
          The JNDI name of the queue or topic.
 
Optional Element Summary
 JMSControl.AcknowledgeMode acknowledgeMode
          The acknowledge mode.
 String jndiContextFactory
          The JNDI context factory.
 String jndiPassword
          The JNDI security credentials.
 String jndiProviderURL
          The JNDI provider URL.
 String jndiUsername
          The JNDI security principal.
 String sendCorrelationProperty
          The Correlation-Id for messages.
 JMSControl.DestinationType sendType
          The destination type (DestinationType).
 boolean transacted
          True if send is transacted.
 

Element Detail

sendJndiName

public abstract String sendJndiName
The JNDI name of the queue or topic.


jndiConnectionFactory

public abstract String jndiConnectionFactory
The JNDI name of queue connection factory.

sendCorrelationProperty

public abstract String sendCorrelationProperty
The Correlation-Id for messages.

Default:
""

sendType

public abstract JMSControl.DestinationType sendType
The destination type (DestinationType). The default is to use the type of the destination object named by the JNDI name.

Default:
Auto

transacted

public abstract boolean transacted
True if send is transacted. The default is transacted.

Default:
true

acknowledgeMode

public abstract JMSControl.AcknowledgeMode acknowledgeMode
The acknowledge mode. The default is to use auto-acknowledge.

Default:
Auto

jndiContextFactory

public abstract String jndiContextFactory
The JNDI context factory.

Default:
""

jndiProviderURL

public abstract String jndiProviderURL
The JNDI provider URL.

Default:
""

jndiUsername

public abstract String jndiUsername
The JNDI security principal.

Default:
""

jndiPassword

public abstract String jndiPassword
The JNDI security credentials.

Default:
""