Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

Configuring JMS Source Using UM XML Configuration File

Configuring JMS Source Using UM XML Configuration File

  1. Copy the following sample
    umjms.xml
    file to
    RULEPOINT_HOME
    :
    <?xml version="1.0" encoding="UTF-8"?> <um-configuration version="1.0"> <applications> <application name="uJMS"> <contexts> <context name="uJMSConnectionFactory" template=""> <sources/> <receivers/> <wildcard-receivers/> <options type="context"> <option default-value="wincompport" name="fd_management_type" /> <!-- if operational_mode set to embedded, UM JMS overrides back to sequential --> <option default-value="sequential" name="operational_mode"/> <option default-value="10.65.43.252:22000" name="resolver_unicast_daemon"/> </options> </context> <context name="TopicConnectionFactory" template=""> <sources/> <receivers/> <wildcard-receivers/> <options type="context"> <option default-value="sequential" name="operational_mode"/> <option default-value="10.65.43.252:22000" name="resolver_unicast_daemon"/> </options> </context> <context name="QueueConnectionFactory" template=""> <sources/> <receivers/> <wildcard-receivers/> <options type="context"> <option default-value="sequential" name="operational_mode"/> <option default-value="10.65.43.252:22000" name="resolver_unicast_daemon"/> </options> </context> <context name="uJMSConnectionFactory-UMS"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> </options> <receivers/> <!-- For ULB--> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> <context name="uJMSConnectionFactory-UMP"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <option default-value="1" name="late_join"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <option default-value="1" name="ume_proxy_source"/> <option default-value="my-store" name="ume_store_name"/> <option default-value="qc" name="ume_store_behavior"/> </options> <receivers/> <!-- For ULB--> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> <context name="uJMSConnectionFactory-UMQ"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <option default-value="1" name="late_join"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <option default-value="UMQueue" name="umq_queue_name"/> </options> <receivers/> <options type="receiver"> <!-- <option default-value="100" name="umq_receiver_type_id"/> --> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> <wildcard-receivers/> </context> <context name="TopicConnectionFactory-UMS"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <!-- <option default-value="0:100" name="umq_ulb_application_set"/> --> </options> <receivers/> <!-- For ULB--> <options type="receiver"> <!-- <option default-value="100" name="umq_receiver_type_id"/> --> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> <wildcard-receivers/> </context> <context name="TopicConnectionFactory-UMP"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <option default-value="1" name="late_join"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <option default-value="1" name="ume_proxy_source"/> <option default-value="my-store" name="ume_store_name"/> <option default-value="qc" name="ume_store_behavior"/> <!-- <option default-value="0:100" name="umq_ulb_application_set"/> --> </options> <receivers/> <!-- For ULB--> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> <context name="TopicConnectionFactory-UMQ"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <option default-value="1" name="late_join"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <option default-value="UMQueue" name="umq_queue_name"/> </options> <receivers/> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> <context name="QueueConnectionFactory-UMS"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <!-- <option default-value="0:100" name="umq_ulb_application_set"/> --> </options> <receivers/> <!-- For ULB--> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> <context name="QueueConnectionFactory-UMP"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <option default-value="1" name="late_join"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <option default-value="1" name="ume_proxy_source"/> <option default-value="my-store" name="ume_store_name"/> <option default-value="qc" name="ume_store_behavior"/> <!-- <option default-value="0:100" name="umq_ulb_application_set"/> --> </options> <receivers/> <!-- For ULB--> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> <context name="QueueConnectionFactory-UMQ"> <sources/> <options type="source"> <option default-value="2048" name="implicit_batching_minimum_length"/> <option default-value="1" name="late_join"/> <!-- For unicast, set transport to lbtru or tcp --> <option default-value="tcp" name="transport"/> <option default-value="UMQueue" name="umq_queue_name"/> </options> <receivers/> <!-- <options type="receiver"> <option default-value="100" name="umq_receiver_type_id"/> <option default-value="10" name="umq_delayed_consumption_report_interval"/> </options> --> <wildcard-receivers/> </context> </contexts> <event-queues> <event-queue/> </event-queues> <application-data> <ConnectionFactory name="uJMSConnectionFactory"> <options type="ConnectionFactory"> <option default-value="UME" name="DEFAULT_TOPIC_TYPE"/> <option default-value="UME" name="DEFAULT_TEMP_TOPIC_TYPE"/> <option default-value="true" name="USE_APP_HEADER"/> <!-- <option default-value="UME1" name="CLIENT_ID"/> <option default-value="false" name="DEBUG"/> --> <option default-value="TextMessage" name="DEFAULT_MESSAGE_TYPE"/> </options> </ConnectionFactory> <ConnectionFactory name="TopicConnectionFactory"> <options type="ConnectionFactory"> <option default-value="UME" name="DEFAULT_TOPIC_TYPE"/> <option default-value="UME" name="DEFAULT_TEMP_TOPIC_TYPE"/> <option default-value="true" name="USE_APP_HEADER"/> <!-- <option default-value="UME1" name="CLIENT_ID"/> <option default-value="false" name="DEBUG"/> --> <option default-value="TextMessage" name="DEFAULT_MESSAGE_TYPE"/> </options> </ConnectionFactory> <ConnectionFactory name="QueueConnectionFactory"> <options type="ConnectionFactory"> <option default-value="UME" name="DEFAULT_TOPIC_TYPE"/> <option default-value="UME" name="DEFAULT_TEMP_TOPIC_TYPE"/> <option default-value="true" name="USE_APP_HEADER"/> <!-- <option default-value="UME1" name="CLIENT_ID"/> <option default-value="false" name="DEBUG"/> --> <option default-value="TextMessage" name="DEFAULT_MESSAGE_TYPE"/> </options> </ConnectionFactory> <Destination name="TempQueue"> <options type="Destination"> <option default-value="TempQueue" name="NAME"/> <option default-value="UMQ" name="TYPE"/> <option default-value="queue" name="DESTTYPE"/> <option default-value="false" name="WILDCARD"/> </options> </Destination> <Destination name="TempQueue1"> <options type="Destination"> <option default-value="TempQueue1" name="NAME"/> <option default-value="UMQ" name="TYPE"/> <option default-value="queue" name="DESTTYPE"/> <option default-value="false" name="WILDCARD"/> </options> </Destination> <Destination name="UMETopic"> <options type="Destination"> <option default-value="UMETopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="2000" name="REGID"/> </options> </Destination> <Destination name="DurableTopic"> <options type="Destination"> <option default-value="DurableTopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="61000" name="REGID"/> <option default-value="topic" name="DESTTYPE"/> </options> </Destination> <Destination name="DestTopic"> <options type="Destination"> <option default-value="DestTopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="3000" name="REGID"/> <option default-value="topic" name="DESTTYPE"/> </options> </Destination> <Destination name="BytesTopic"> <options type="Destination"> <option default-value="BytesTopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="7000" name="REGID"/> <option default-value="topic" name="DESTTYPE"/> </options> </Destination> <Destination name="MapTopic"> <options type="Destination"> <option default-value="MapTopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="6500" name="REGID"/> <option default-value="topic" name="DESTTYPE"/> </options> </Destination> <Destination name="ObjectTopic"> <options type="Destination"> <option default-value="ObjectTopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="6000" name="REGID"/> <option default-value="topic" name="DESTTYPE"/> </options> </Destination> <Destination name="TempTopic"> <options type="Destination"> <option default-value="TempTopic" name="NAME"/> <option default-value="false" name="WILDCARD"/> <option default-value="4000" name="REGID"/> <option default-value="topic" name="DESTTYPE"/> </options> </Destination> <Destination name="ReplyTopic"> <options type="Destination"> <option default-value="REPLY" name="NAME"/> <option default-value="4400" name="REGID"/> <option default-value="LBM" name="TYPE"/> <option default-value="false" name="WILDCARD"/> </options> </Destination> <Destination name="RequestTopic"> <options type="Destination"> <option default-value="RequestTopic" name="NAME"/> <option default-value="5000" name="REGID"/> <option default-value="LBM" name="TYPE"/> <option default-value="false" name="WILDCARD"/> </options> </Destination> </application-data> </application> </applications> </um-configuration>
  2. Change the lbmrd daemon, ume store, umq queue name according to your UM store, queue or lbmrd configurations.
  3. Configure the following properties to create a JMS connection:
    • JNDI Context Factory. com.latencybusters.jms.LBMXmlContextFactory
    • Connection URL. Absolute path of the umjms.xml. For example: file:/E:/workspace/yosemite/RulePoint_61/um/umjms.xml.
    • JMS Connection Factory. The connection factory to use. For example, uJMSConnectionFactory.
  4. Create a JMS source using the configured connection.
  5. In the source configuration, set the JMS destination as the name of the UM topic from which the JMS source reads messages.

0 COMMENTS

We’d like to hear from you!