on 10-25-2006 5:36 PM
I have created a BPM which sends HTTP request over to JMS Websphere MQ (receiver comm channel). After I send async data to the MQ, I have a transformation step which reads the correlation id. In order for this to work, I have enabled Adapter specific message attributes.
This is the code I have in my UDF (is a step after send step)
java.util.Map map = container.getTransformationParameters();
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/JMS", "DCJMSCorreleationID" );
String corrId = conf.get(key);
return corrId;
I get a null value eventhough I see a corr id in the adapter monitor.
In the mapping trace, I see
<Trace level="3" type="T">Dynamic configuration is empty</Trace>
Any ideas on what I'm doing wrong here.
Thank you.
Hi,
Similar thread discussion-
May be code problem
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Moorthy.
I'm able to set the correlation id before send and retrieve it after send.
Sequence being
HTTP -> Transform (set corr id) -> Send JMS -> Transform (retrieve corr id)
The problem is if my communicaiton channel is down, I still can retrieve the correlation id from the dynamic config. I was hoping would get a null if the channel is down and a value if the channel is up and running.
How can I tell if the channel is down?
Thanks, Parimala
Unfortunately, this one object is not set up in our current CCMS monitoring and therefore I cannot get any alerts.
Do you know how I can get this to work. CCMS monitor shows alerts for IS, QRFC queues, Java components. But I don't see anything for Adapters.
I don't mind writing an EJB to check status. I see in com.sap.aii.af.monitor.api.AdapterStatus with method getStatusData()....not sure how this one works.
I appreciate any help. Thank you.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.