Re: reading receive context
- From: "Anders Hogseth" <hogz@xxxxxxxx>
- Date: Wed, 11 Oct 2006 20:33:06 +0200
NewEmpMessage(FILE.ReceivedFileName) will give you the filename.
Anders
"Richard" <Richard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EB504EAD-FA7B-4802-A4FF-FB47C611273D@xxxxxxxxxxxxxxxx
I am attempting to put the file and path from the receiver into a promoted
property of a message
using your suggestion this should work
NewerEmpMessage = NewEmpMessage;
NewerEmpMessage.FilePath = NewEmpMessage.FILE.ReceivedFileName;
the expression parser says the identifier FILE does not exist
"Doug Girard [MSFT]" wrote:
Here are all of the available message context properties promoted by the
FILE adapter:
"File Adapter Property Schema and Properties"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06CoreDo
cs/html/c5ae5339-67bf-4fde-a721-5b1aa3b9caca.asp
From an orchestration expression shape you can access the context through
the message, for example:
MessageName.FILE.ReceivedFileName
For more about context, see "About BizTalk Message Context Properties ":
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06CoreDo
cs/html/bc700e43-a44c-482b-b91c-9f1d997a486a.asp
HTH,
Doug Girard [MSFT]
Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
Thread-Topic: reading receive context
thread-index: Acbsq5BA1b5VLNlOQPiwukQNAcBAMQ==
X-WBNR-Posting-Host: 12.37.93.2
From: =?Utf-8?B?UmljaGFyZA==?= <Richard@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: reading receive context
Date: Tue, 10 Oct 2006 13:35:03 -0700
Lines: 2
Message-ID: <C6B4EB62-253B-4EC0-8584-0E747C4E6896@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.biztalk.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:41542
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.biztalk.general
How can i get the receive context such as FILE.ReceivedFileName from the
message context and use it in my orchestration?
.
- Follow-Ups:
- Re: reading receive context
- From: Richard
- Re: reading receive context
- References:
- RE: reading receive context
- From: Doug Girard [MSFT]
- RE: reading receive context
- From: Richard
- RE: reading receive context
- Prev by Date: Re: Receive Port no more listening
- Next by Date: Re: reading receive context
- Previous by thread: RE: reading receive context
- Next by thread: Re: reading receive context
- Index(es):
Relevant Pages
|