webMethods and Intelligent Business Operations 10.2 | Integrating Cloud Applications | Administering CloudStreams | CloudStreams Configuration Options | The Streaming Options | Setting the Streaming Subscribers Options | Creating an ESB Service as a Streaming Subscriber Destination | ESB Services for the Client Type of Comet
 
ESB Services for the Client Type of Comet
The response is present under an IData variable in the pipeline, with a key whose value is the same as the name of the subscriber. For example, if the subscriber is named MySalesforceTopic, then there will be a key in the pipeline with the same name.
The IData structure is:
[subscriber_name]
message
channel.name (if present)
channel.endpoint
data.json
comet.msg
This IData variable contains the actual subscription response contents within the message pipeline variable, which contains the following pipeline variables:
*channel.name: The name of the channel over which the subscription response arrived.
*channel.endpoint: The endpoint value of the channel.
*data.json: The streaming response contents in JSON format (note that this is only applicable if the provider client type is Comet).
*comet.msg: The actual CometD message instance value. The type of the value is: org.cometd.bayeux.Message.

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release