× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Paiting responses with requests via MQ listener.

  • kmanyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
13 years 8 months ago #9053 by kmanyam
Hi All,

We are using MQ listener to post ofs mesasges to T24. Multiple process can send messages to MQ at same time. Now I have problem of pairing correct response to request as the response may be out of sequence.

How to identify if particular response message on MQ is for specific request? Can we pass any transaction id as part of OFS message (if there is any unused field) which T24 could also write back in response?

Any other suggestions are welcome.

Thanks everyone for help.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
13 years 8 months ago #9054 by jpb
Have you tried using the MessageId ? it should be returned in every case.

In OFS it's after the TRANSACTION.ID (separated by /),
in XML request the key is MSG.ID , send back as <messageId>
The following user(s) said Thank You: kmanyam

Please Log in or Create an account to join the conversation.

  • kmanyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
13 years 8 months ago #9057 by kmanyam
I do not see TRANSACTION.ID in any OFS response I am getting from T24. Can we specify any value in MessageId? Where should it be specified?

Sample OFS message I am using looks like
TSA.SERVICE,START/I/PROCESS,INPUTT/********,ROLLOVER.UPDATES,SERVICE.CONTROL::=START

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
13 years 8 months ago #9058 by jpb
TSA.SERVICE,START/I/PROCESS,INPUTT/********,ROLLOVER.UPDATES/Message.Id,SERVICE.CONTROL::=START

ROLLOVER.UPDATES is the Transaction.Id

The Message.Id will also be used as key to OFS.REQUEST.DETAIL (if enabled)

Please Log in or Create an account to join the conversation.

  • kmanyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
13 years 8 months ago #9059 by kmanyam
Excellent! You are genius.

This is what I was looking for.

Please Log in or Create an account to join the conversation.

Time to create page: 0.041 seconds