ScriptJMSReq details

ScriptJMSReq methods enable you to perform such tasks as getting data and metadata that is passed to the endpoint and getting the endpoint name.

Table 1. ScriptJMSReq methods
ScriptJMSReq methods Purpose
getData() Gets byte[] data that is passed to the endpoint.
getMetaData() Gets the metadata java.util.Map object that was passed in to the endpoint. This object contains some of the Java Message Service (JMS) or Kafka message headers.
getEndPointName()) Gets the endpoint name.
setURL(String url) Sets the URL to be called. This overrides the URL if that is set in the endpoint configuration
getURL() Returns the URL string to be invoked.
addProperty(String prop, String value) Adds a JMS message property and value pair to the request.
getMessageProperties() Gets the JMS message property and value Map<String,String> for the request.