JMS

Discover more about the JMS component and how to use it on the Digibee Integration Platform.

JMS makes operations in message barrings that support API JMS. Currently, the Digibee Integration Platform provides support for IBM MQ, Oracle AQ and Tibco EMS.

Parameters

Take a look at the configuration options for the component. Parameters supported by Double Braces expressions are marked with (DB).

There're some specific parameters for each broker:

Tibco EMS

Oracle AQ

IBM MQ

We currently do not have support for authentication through TLS.

JMS Object Properties

In the following example, you can see how to use some properties:

{

"JMSXUserID": "123",

"JMSXState": 1,

"JMSXGroupID": "test"

}

Messages flow

Input

The component accepts any input message and can use it through Double Braces.

Output

Success

{
"success": true,
"message": "MENSAGEM QUE FOI ENVIADA AO BROKER"
}

Error

{
"success": false,
"message": "Something went wrong while trying to produce the message to JMS service. Error: Error while attempting to add new Connection to the pool",
"error": "javax.jms.JMSException: Error while attempting to add new Connection to the pool"
}

JMS in Action

Tibco EMS

Message:

{
"message": "test"
}
  • Destination: QUEUE

  • Name: NAME.OF.THE.QUEUE

  • JMS Provider: Tibco EMS

  • Connection String: tcp://<HOST>:<PORT>

  • Is Binary: disabled

  • Raw Value: disabled

  • Fail On Error: disabled

Response:

{
"success": true,
"message": {
"message": "test"
}
}

Oracle AQ

Message:

{
"message": "test"
}
  • Destination: QUEUE

  • Name: NAME.OF.THE.QUEUE

  • JMS Provider: Oracle AQ

  • Hostname: <HOSTNAME> or <IP>

  • Port: <PORT>

  • SID: <ORACLE SID>

  • JDBC Type: thin

  • Is Binary: disabled

  • Raw Value: disabled

  • Fail On Error: disabled

Response:

{
"success": true,
"message": {
"message": "test"
}
}

IBM MQ

Message:

{
"message": "test"
}
  • Destination: QUEUE

  • Name: NAME.OF.THE.QUEUE

  • JMS Provider: IBM MQ

  • Hostname: <HOSTNAME> or <IP>

  • Port: <PORT>

  • Channel Name: <IBM MQ CHANNEL NAME>

  • Queue Manager: <IBM MQ QUEUE MANAGER>

  • Is Binary: disabled

  • Raw Value: disabled

  • Fail On Error: disabled

Response:

{
"success": true,
"message": {
"message": "test"
}
}

Last updated