Read msmq message written by BizTalk
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Read msmq message written by BizTalk




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Read msmq message written by BizTalk  
Drew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-09-05 10:51 PM

I'm trying to figure out how to read a message written to a queue by BizTalk
.
I can not figure out the format to use.

In Biztalk 2002, you would use ActiveXFormatter.  I've tried this with 2004
and the message is unreadable.

Same question for the inverse, what format to use from an application
writing to a queue that BizTalk would pick up.

Anybody got this to work?

Thanks,
drew






[ Post a follow-up to this message ]



    Re: Read msmq message written by BizTalk  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-10-05 01:48 AM

Drew,
> I'm trying to figure out how to read a message written to a queue by
> BizTalk.
> I can not figure out the format to use.
>
> In Biztalk 2002, you would use ActiveXFormatter.  I've tried this with
> 2004
> and the message is unreadable.
>
> Same question for the inverse, what format to use from an application
> writing to a queue that BizTalk would pick up.
>
> Anybody got this to work?

You'll need to use an StreamReader created on top of the message's
BodyStream property ( you don't need a formatter for this), or just read
from the stream itself directly.

The trick here usually is knowing the encoding the message was sent in,
which is controlled by how the send pipeline was configured (if you use the
default I believe it uses utf-8, I believe, but I don't remember for sure).


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Re: Read msmq message written by BizTalk  
Drew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-05 10:52 PM

Sorry for the delay in my response, I've been testing this out on the invers
e
side.

What about writing to the queue for BizTalk to pick up, should you use the
activeXformatter or not?
I've used both with the XMLTransmit pipeline, and neither work.  Do you have
to write a custom pipeline, and if so what would be in it?


"Tomas Restrepo (MVP)" wrote:

> Drew, 
>
> You'll need to use an StreamReader created on top of the message's
> BodyStream property ( you don't need a formatter for this), or just read
> from the stream itself directly.
>
> The trick here usually is knowing the encoding the message was sent in,
> which is controlled by how the send pipeline was configured (if you use th
e
> default I believe it uses utf-8, I believe, but I don't remember for sure)
.
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>





[ Post a follow-up to this message ]



    Re: Read msmq message written by BizTalk  
Drew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-05 10:52 PM

Disregard, I found the answer in a previous post.

I used the bodystream instead of writing to the body.

Thanks,
Drew

"Drew" wrote:
[vbcol=seagreen]
> Sorry for the delay in my response, I've been testing this out on the inve
rse
> side.
>
> What about writing to the queue for BizTalk to pick up, should you use the
> activeXformatter or not?
> I've used both with the XMLTransmit pipeline, and neither work.  Do you ha
ve
> to write a custom pipeline, and if so what would be in it?
>
>
> "Tomas Restrepo (MVP)" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register