|
Home > Archive > BizTalk Server General > December 2004 > SuspendedQListener
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SuspendedQListener
|
|
|
| Hi,
I have written a windows service to listen Suspended messages.
i am using below method to save messages to a directory.
MessageInstance.InvokeMethod("SaveToFile", new object[] {TempDirectoryName});
If I use File Adapter to receive a invalid message,It is saving files,but if
use HTTP(BTSHTTPReceive.dll) to receive a invalid message,it is not saving
messages.But it is firing event.
can anybody help on this.
Agan
| |
|
| FYI:
If HostName is BizTalkServerApplication it is working fine
If HostName is BizTalkServerIsolatedHost,I am getting error.
Errormessage is 'The specified message is an internal message and cannot be
saved"
"Agan" wrote:
> Hi,
> I have written a windows service to listen Suspended messages.
>
> i am using below method to save messages to a directory.
>
> MessageInstance.InvokeMethod("SaveToFile", new object[] {TempDirectoryName});
>
> If I use File Adapter to receive a invalid message,It is saving files,but if
> use HTTP(BTSHTTPReceive.dll) to receive a invalid message,it is not saving
> messages.But it is firing event.
> can anybody help on this.
>
> Agan
| |
| Matt Hall 2004-12-01, 5:51 pm |
| I would suggest that it is trying to save routing failure
report messages, which cannot be saved to disk. If you go
to HAT and look at the entries you have without your
service running, try and save all of the messages to
disk. This is what your wmi call is essentially doing.
http://blogs.conchango.com/matthall
>-----Original Message-----
>FYI:
>If HostName is BizTalkServerApplication it is working
fine
>If HostName is BizTalkServerIsolatedHost,I am getting
error.
>Errormessage is 'The specified message is an internal
message and cannot be
>saved"
>
>
>"Agan" wrote:
>
messages.[vbcol=seagreen]
directory.[vbcol=seagreen]
[] & #123;TempDirectoryName});[vbcol=seagreen
]
is saving files,but if[vbcol=seagreen]
message,it is not saving[vbcol=seagreen]
>.
>
| |
|
| Thanks,But it is not a routing failure message.It is faailing in inbound
schema validation.
Actually I have to develop a Custome UI to see all failed messaged.
If I track(save) failed MessageInstanceID,instanceID,How can I get message
from MessageBox Database.I am looking into SuspendedQ Tables..but i am unable
to trace messages.
Agan
"Matt Hall" wrote:
> I would suggest that it is trying to save routing failure
> report messages, which cannot be saved to disk. If you go
> to HAT and look at the entries you have without your
> service running, try and save all of the messages to
> disk. This is what your wmi call is essentially doing.
>
> http://blogs.conchango.com/matthall
>
>
> fine
> error.
> message and cannot be
> messages.
> directory.
> [] {TempDirectoryName});
> is saving files,but if
> message,it is not saving
>
| |
| Harish - Avanade 2004-12-03, 8:46 pm |
| Is the HTTP Response getting a valid correlation token? Most synchronous
transports are informated of the failure that occured (like routing etc.) and
if the caller is notified the adapter does not bother writing to the
suspended queue which is when a suspended service instance is created -one
thing you should check is to see if you can find a suspended service instance
for this message in HAT (the messsag that failed validation with HTTP
request) and then if only a dedug instance exists then you the event never
fired and the adapter did not write the message to the suspended queue.
Harish - Avanade
"Agan" wrote:
[vbcol=seagreen]
> Thanks,But it is not a routing failure message.It is faailing in inbound
> schema validation.
> Actually I have to develop a Custome UI to see all failed messaged.
> If I track(save) failed MessageInstanceID,instanceID,How can I get message
> from MessageBox Database.I am looking into SuspendedQ Tables..but i am unable
> to trace messages.
>
> Agan
>
> "Matt Hall" wrote:
>
| |
|
| Ya..I am able to see HTTP suspended message in HAT
"Harish - Avanade" wrote:
[vbcol=seagreen]
> Is the HTTP Response getting a valid correlation token? Most synchronous
> transports are informated of the failure that occured (like routing etc.) and
> if the caller is notified the adapter does not bother writing to the
> suspended queue which is when a suspended service instance is created -one
> thing you should check is to see if you can find a suspended service instance
> for this message in HAT (the messsag that failed validation with HTTP
> request) and then if only a dedug instance exists then you the event never
> fired and the adapter did not write the message to the suspended queue.
>
> Harish - Avanade
>
> "Agan" wrote:
>
| |
|
| Yes i am getting valid correlation token..I am catches status code.It says
accepted.
I saw this record in HAT suspended Qs query.If I right click,and try to save
the message(Fron HAT)..I am getting same Error."'The specified message is an
internal
message and cannot be saved"--
Any Idea how can we access messages directly from Database,if we know
message ID.
I tried to access BizTalkServerIsolatedHostQ_Suspended table..but I am not
getting anywhere Message.
Thanks in advance
Agan
"Agan" wrote:
[vbcol=seagreen]
> Ya..I am able to see HTTP suspended message in HAT
>
> "Harish - Avanade" wrote:
>
|
|
|
|
|