cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying messages in Message Listener from processing transaction

Former Member
0 Kudos

Hello!

Is there a way to modify message in ML from transaction that is processing it by Rule? Is there some way to find the message ID frominside transaction?

BG

Petr

Edited by: Petr Balabanov on Jul 29, 2011 11:48 AM

Edited by: Petr Balabanov on Jul 29, 2011 11:53 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As per my understanding you can't modify ML that is already processing under rule. Under ML tab you will update your server details and status button is used to test the connection is successful or not.

You can get message listeners ID in transaction by using "Query Messages" & "Read Messages" action block under "Message Services" in transaction.

Hope it helps.

Thanks

Rajesh.S

Former Member
0 Kudos

OK, my question was not very correct.

Message in ML has its unique ID. At runtime transaction (that is defined by Rule as a processor for this message) also has its unique ID (transactionid() function). Is there a way to find out that transaction with ID = "AAA" was triggered by message with ID = "BBB"? Maybe it is possible to get this information offline, after transaction finished processing?

Best regards,

Petr

agentry_src
Active Contributor
0 Kudos

Hi Petr,

Depending upon your MII version, there should be a transaction ID property available in the expression editor. So you can write to a log or xml file or shared property (map datatype), or a database table, etc. while the transaction is occurring. Probably a couple other ways as well.

Regards,

Mike