Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added PING

...

A few examples:

Code Block

CONNECT
login: <username>
passcode: <passcode>
version: 1.1

^@

CONNECTED
session: <session-id>
version: 1.1

^@

version 1.1 will be used.

Code Block

CONNECT
login: <username>
passcode:<passcode>
version: 1.1

^@

CONNECTED
session: <session-id>

^@

version 1.0 will be used.

...

So for example, the following command

Code Block

SEND
destination:/queue/TEST.Q
transformation:jms-map-xml

<map>
  <entry>
    <string>name</string>
    <string>Dejan</string>
  </entry>
  <entry>
    <string>city</string>
    <string>Belgrade</string>
  </entry>
</map>

^@

would send a map message to the queue.

...

Kindly suggest a another header name if you can think of a more appropriate one.

PING

Ping just verifies that the server is alive. The server should respond with "Pong" to indicate that it is indeed there.