jms-send
Send message to JMS queue or publish to JMS topic
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > jms-send

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:jms

Definition

Active URI Base

active:jms-send

Format

<instr>
  <type>jms-send</type>
  <destination>jms-queue:MyQueueName</destination>
  <body>var:body</body>
  <header>
    <nvp>
      <JMSMessageID>123</JMSMessageID>
    </nvp>
  </header>
  <properties>
    <nvp>
      <MyProperty>my property value</MyProperty>
    </nvp>
  </properties>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory jms-send
destinationMandatory the queue or topic uri, jms-queue:[logical JNDI queue name] or jms-topic:[logical JNDI topic name]
bodyMandatory resource to be placed in the body of the message
headerOptional
an NVP (name value pair list) or canonical XML form for JMS header fields to set. The list of valid names are: JMSCorrelationID, JMSDeliveryMode, JMSExpiration, JMSMessageID, JMSPriority, JMSRedelivered, JMSTimestamp, JMSType. Not all headers maybe supported or set-able by all implementations.
propertiesOptional an NVP (name value pair list) or canonical XML form for a set of properties to set on the message.
configOptional an optional alternate JMS configuration instead of the default.

jms-send is a client service which may be called to publish / send a message to a JMS topic or queue. For more details on configuring Java Messaging Service connectivity see the guide.

© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.