Is there any limit for MSMQ Message Id length?



Hi All,

I got one bug, our application is like;

1. .NET Source Application (Say App1) will send a query to ‘BTSIn’ MSMQ
queue, with message type ‘Query’.
2. Biztalk Server 2004 is configured to listen to this queue (i.e., BTSIn
queue). Biztalk will place this message from ‘BTSIn’ to ‘QueryQueue’.
3. .NET Target Application (Say App2) will be read this message from
‘QueryQueue’ queue and sends a response again to ‘BTSIn’, with message type
‘Response’.
4. Now Biztalk will forward this message to ‘ResponseQueue’ queue.
5. .NET Source Application (App1) will read the response from
‘ResponseQueue’ using correlation ID.

To maintain the ‘Correlation ID’, first when Biztalk receives a query
message (Step 2). It will set the ‘Correlation ID’ to the sending message,
from the ID of received message (SendMsg(MSMQ.CorrelationID) =
RecvMsg(MSMQ.ID)).

Everything works fine, but when message id is greater than 7 digits it is
taking the entire number. Suppose;

If .NET source application (App1) is sending a query to queue and if this
message contains Id like, ‘<guid>\1006601’. Biztalk could able to take only
‘<guid>\100660’ (observe the last number ‘1’, which is missing) and set to
Sending message correlation ID (with missing ‘1’). Obiviously, at last
source application (App1) can’t find the message because it is reading using
correlation id.

Any ideas how to solve this problem and take entire message id in biztalk
and set as correlation id to send message.



.



Relevant Pages

  • Re: Running two instances of BizTalk generated code?
    ... compoinent names or changes to orchestrations, I MUST find a way to support ... This WAS is configured to talk to a queue manager running on UNIX. ... our INT and QT WAS applications are currently being fed by a single BizTalk ...
    (microsoft.public.biztalk.general)
  • Re: Running two instances of BizTalk generated code?
    ... Microsoft Certified Technology Specialist: BizTalk Server 2006 ... This WAS is configured to talk to a queue manager running on UNIX. ... So INT and QT are isolated and when one sends a request, ... done all the time but in this case, A and B have the same orchestrations, ...
    (microsoft.public.biztalk.general)
  • Re: BizTalkServerApplication Stops Processing Messages
    ... I am new to BizTalk and not sure exactly what you mean here. ... was a problem with the namespace prefix I would expect restarting the ... Orchestration would not resolve the message not being processed. ... on the queue. ...
    (microsoft.public.biztalk.general)
  • Re: Receiving Large Messages Using the MSMQ Adapter not working
    ... If biztalk is running and the receive location enabled, it will pull those messages right off the queue, so you won't find them there. ... This works fine but I want to avoid installing MSMQT as we already use MSMQ. ... Using perf mon on the BizTalk server I can see the session between the two ...
    (microsoft.public.biztalk.general)
  • Re: BizTalkServerApplication Stops Processing Messages
    ... BizTalk Solution Developer ... orchestration reads the MQ message which is in XML. ... another queue. ... whether any throttling is going on. ...
    (microsoft.public.biztalk.general)

Loading