Running the samples

  1. Start the TIBCO EMS Server.
  2. Start the topic subscriber first, then the publisher. The publisher sends the text provided as the message payload.

    C:\tibco\ems\samples\java>java tibjmsTopicPublisher messagePayload
    ------------------------------------------------
    tibjmsTopicPublisher SAMPLE
    ------------------------------------------------
    Server................... localhost
    User..................... (null)
    Topic.................... topic.sample
    Message Text............. messagePayload
    ------------------------------------------------
    Publishing on topic 'topic.sample'
    Published message: messagePayload
  3. The published message is received by the subscriber.

    The Monitor Console shows the transaction in the Operations tab under the Logical tree. The JMSMessageID has been extracted and is shown as the transaction ID.
  4. The payload data shows the first six characters of the text message sent, as defined by the Message Format used in the transaction pathway.

Was this page helpful? Yes No Submitting... Thank you

Comments