Layer 7 API Management

Expand all | Collapse all

Adding constant JMSType header value to JMS call

Jump to Best Answer
  • 1.  Adding constant JMSType header value to JMS call

    Posted 04-18-2017 08:41 AM

    Hi, I need to "route via JMS" to a JMS queue and I need to transfer all the data, including the header data, to the JMS queue, but I also need to add a constant value to the JMSType header variable.

     

    Does anyone know how that is done?

     

    Kind regards

     

    MIkael



  • 2.  Re: Adding constant JMSType header value to JMS call
    Best Answer

    Posted 04-19-2017 08:30 AM

    Mikael,

     

    I dont know if you have investigated this already, but you may want to take a look at the following assertion,

    Manage Transport Properties/Headers Assertion - CA API Gateway - 9.1 - CA Technologies Documentation 

     

    Supported JMS Headers,

    JMSTypeString

    Message type identifier supplied by the client when the message is sent.

    1. Choose the Add or Add or Replace operation:
      • "Add" may possibly duplicate an existing item with the same name.
      • "Add or Replace" replaces any existing header or property with the same name.
    2. Enter the name of the header or property to add. You may reference context variables.

     

    I believe this may help but if not please let us know. 

    Thanks, Charlie.



  • 3.  Re: Adding constant JMSType header value to JMS call

    Posted 04-20-2017 01:49 AM

    Thanks a lot for the answer Charles.