Re: Binary message creation in BizTalk Server
From: Christof ("Christof")
Date: 05/03/04
- Next message: larry franks: "Re: How to pickup a message from a MSMQ queue from another box?"
- Previous message: Christof: "Re: Implementing Publish-Subscribe Model in BTS 2004"
- In reply to: Arun: "Re: Binary message creation in BizTalk Server"
- Next in thread: Arun: "RE: Distribution in BTS 2004"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 3 May 2004 22:12:54 +0200
Arun,
take a look at this piece please:
Public Sub CreateMyMessage(ByVal mydestmsg As XLANGMessage)
mydestmsg(0).LoadFrom(New MyStreamFactory("this
is my binary test data to construct message from"))
The XLANGMessage "mydestmsg" variable here is just an orchestration message.
Just call this method in an construct message shape and pass an
orchestration message as the parameter. XLANGMessage has a method
"LoadFrom", which allows it to be constructed programmatically.
Don't know whether this scenario will allow you to do unit testing, since I
believe you need the orchestration runtime. Let me know if things still
aren't clear please.
Best regards!
Christof
"Arun" <anonymous@discussions.microsoft.com> wrote in message
news:3D182AA3-4306-446A-80A1-983D91F27A89@microsoft.com...
> In my CreateMessage method, I need to pass a XLangMessage variable.
>
> How will I pass this and do a unit testing with a client application?
>
> I could not find much info in MSDN also
>
> Help needed
>
>
- Next message: larry franks: "Re: How to pickup a message from a MSMQ queue from another box?"
- Previous message: Christof: "Re: Implementing Publish-Subscribe Model in BTS 2004"
- In reply to: Arun: "Re: Binary message creation in BizTalk Server"
- Next in thread: Arun: "RE: Distribution in BTS 2004"
- Messages sorted by: [ date ] [ thread ]