Layer7 API Management

  • 1.  how to I access JMSHeaders and JMSProperties within an API Gateway policy?

    Posted Nov 29, 2018 01:00 PM

    for example, I can access/view the HTTPHeaders with ${request.http.allheadervalues} or ${request.http.header.<custom name>}

     

    what is the corresponding way for JMS Headers and Properties?

     

    I tried something similar with ${request.jms.allheadervaules} and ${request.jms.header.<custom name>} but this isn't pulling back any values.

     

    Thanks in advance



  • 2.  Re: how to I access JMSHeaders and JMSProperties within an API Gateway policy?
    Best Answer

    Broadcom Employee
    Posted Nov 29, 2018 05:22 PM

    ${request.jms.property.X}

    Prefix for retrieving the string value of a JMS message property from a JMS request message, e.g., ${request.jms.property.SOAPJMS_soapAction}. JMS message property names are case-sensitive.

    ${request.jms.allpropertyvalues}

    Returns an array of all JMS message property values in the format: "property:value"

     

    Transport Layer Context Variables - CA API Gateway - 9.4 - CA Technologies Documentation