Hi. Is it possible in BTS 2006R2 to get values dinamicly for MQSeries adapter or for MQSC?

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Hi. Is it possible in BTS 2006R2 to get values dinamicly for MQSeries adapter or for MQSC?

Viewing 1 reply thread
  • Author
    Posts
    • #18261

      I have some requirement from a customer – to get definition of queue/queue manager , connections etc. dinamicly – for example in assign message shape:

       

      msgSomeMessage(Something.SomeQueueName) = "Q1";

      msgSomeMessage(Something.SomeQueueManagerName) = "QM_QueueManager";

      msgSomeMessage(Something.SomeQueueConnectionProps) = "123.4.5.6:1414";

      etc.

       

      I Would more than appriciate to receive some help in this topic.

      Thnx

    • #18528

      I am not sure that this is something different in R2 so this is what you can use

      Add reference to “C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\MQSeries.dll” assembly

      Then in expression shape you can access all these properties of the queue on the context properties

      like

      msg1(MQSeries.MQMD_ReplyToQ) or QMgr or ..you can check out there’s a bunch of q related properties that are accessible

      Hema

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.