new bie question on biztalk message publishing
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 > new bie question on biztalk message publishing




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

    new bie question on biztalk message publishing  
sidd


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


 
09-29-04 08:07 AM

Hi all,
i had a question on message publishing n biztalk.

i have two orcehstrations PublisherOrchetration
this orchestration uses a direct send port .

and then  i have another Orchetration ListnerOrchestration
this orchestration uses a direct receive port  of same type....

question is
1)if my ListnerOrchestration is down(not even enlisted) when the
PublisherOrchetration publishes the message...is there any way it can
still receive the message when it comes back up later?

2)also in the above sample which i was building
....ListenerOrcehstration seem to go in a infinite loop..all i am
doing in ListenerOrcehstration is ,receiving the message and writing
it to a file using a send port.
i think the send port will again put it BiztalkDB and that would again
publish the message resulting in creation of another instance of
ListenerOrcehstration...and so on...
but how do i stop this infinite loop. i can always some how change the
message type of the message being written out by using a dummy
transform...that i think will stop this infinite loop............

But i was wondering if there is a cleaner better way  to acccomplish
this.
thanks
sidharth





[ Post a follow-up to this message ]



    RE: new bie question on biztalk message publishing  
Alan Smith


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


 
09-29-04 08:07 AM

Hi Sidd

> 1)if my ListnerOrchestration is down(not even enlisted) when the
> PublisherOrchetration publishes the message...is there any way it can
> still receive the message when it comes back up later?

I don't think so, when using pub-sub, if there are no subscribers, the
message will not get delivered. One way to solve this would be to use a
storage outside the message box (e.g. a file location). (There's probably a
neater way to do this!!)

> 2)also in the above sample which i was building
> .....ListenerOrcehstration seem to go in a infinite loop..all i am
> doing in ListenerOrcehstration is ,receiving the message and writing
> it to a file using a send port.
> i think the send port will again put it BiztalkDB and that would again
> publish the message resulting in creation of another instance of
> ListenerOrcehstration...and so on...
> but how do i stop this infinite loop. i can always some how change the
> message type of the message being written out by using a dummy
> transform...that i think will stop this infinite loop............

I think everyone stumbles into that pitfal (I know I did). You need to set a
promoted property that the orchestrations can use to filter the messages
(this is done in the receive shape).

Darren Jefford has written a couple of good blog posts on solving this.

http://blogs.msdn.com/darrenj/archi.../18/115791.aspx
http://blogs.msdn.com/darrenj/archi.../19/115929.aspx

Hope this helps,

Alan

"sidd" wrote:

> Hi all,
> i had a question on message publishing n biztalk.
>
> i have two orcehstrations PublisherOrchetration
> this orchestration uses a direct send port .
>
> and then  i have another Orchetration ListnerOrchestration
> this orchestration uses a direct receive port  of same type....
>
> question is
> 1)if my ListnerOrchestration is down(not even enlisted) when the
> PublisherOrchetration publishes the message...is there any way it can
> still receive the message when it comes back up later?
>
> 2)also in the above sample which i was building
> .....ListenerOrcehstration seem to go in a infinite loop..all i am
> doing in ListenerOrcehstration is ,receiving the message and writing
> it to a file using a send port.
> i think the send port will again put it BiztalkDB and that would again
> publish the message resulting in creation of another instance of
> ListenerOrcehstration...and so on...
> but how do i stop this infinite loop. i can always some how change the
> message type of the message being written out by using a dummy
> transform...that i think will stop this infinite loop............
>
> But i was wondering if there is a cleaner better way  to acccomplish
> this.
> thanks
> sidharth
>





[ Post a follow-up to this message ]



    Re: new bie question on biztalk message publishing  
sidd


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


 
09-30-04 03:40 PM

thanks allan.
-siddharth





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:13 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