<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex integration with Microsoft Message Queuing (MSMQ) using WebORB &#8211; Part I &#8211; Client Side</title>
	<atom:link href="http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/</link>
	<description>Software development</description>
	<lastBuildDate>Sat, 12 Jun 2010 10:24:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-20647</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 17 Jan 2010 11:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-20647</guid>
		<description>I must say we also had a lot of problems with messaging. Question is if it has anything to do with WebORB or if it&#039;s a problem with IIS, firewalls, Flex sdk, ... Can&#039;t help you on this one. As WebORB is a black box, it&#039;s difficult to debug anything. Maybe you can ask your question on the WebORB Mailing List.</description>
		<content:encoded><![CDATA[<p>I must say we also had a lot of problems with messaging. Question is if it has anything to do with WebORB or if it&#8217;s a problem with IIS, firewalls, Flex sdk, &#8230; Can&#8217;t help you on this one. As WebORB is a black box, it&#8217;s difficult to debug anything. Maybe you can ask your question on the WebORB Mailing List.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sansegot</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-20381</link>
		<dc:creator>sansegot</dc:creator>
		<pubDate>Sat, 09 Jan 2010 18:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-20381</guid>
		<description>It seams I have discovered a bug in the WebORB. The applet I&#039;m developing subscribes to one of the 10 existing sub queues. Depending on the user actions, the applet changes the queue it&#039;s subscribed to. After it has changed the sub queue for let&#039;s say 30 times, the WebORB stops responding, along with IIS, so I have to restart the whole darn thing.

Since the example provided by The Midnight Coderers didn&#039;t prove to work I tried also to implement your solution. Again without success.

Here are my two Functions which do the job of un/subscribing:
private function msmqUnSubscribe():void {
  if(this.mqConsumer) {
  
  this.mqConsumer.removeEventListener( MessageEvent.MESSAGE, mqConsumer_onMessage );
  this.mqConsumer.removeEventListener( MessageFaultEvent.FAULT, onMessageFault );
  this.mqConsumer.channelSet.disconnectAll();
  
  this.mqConsumer.unsubscribe();
  this.mqConsumer.disconnect();
  
  this.mqConsumer = null;
  }
}

private function msmqSubscribe():void {

  var subQueue:String = this.aPages.getItemAt(this.iActivePage)[&quot;page&quot;];
  
  var cs:ChannelSet = new ChannelSet();
  var uri:String = &quot;rtmp://{server.name}:2037/&quot;;
  
  var channel:WeborbMessagingChannel = new WeborbMessagingChannel(subQueue, uri);
  channel.addEventListener(MessageEvent.MESSAGE, onMessage);
  cs.addChannel(channel);
  
  this.mqConsumer = new WeborbConsumer();
  this.mqConsumer.destination = &quot;ttx&quot;;
  this.mqConsumer.channelSet = cs;
  
  this.mqConsumer.addEventListener( MessageEvent.MESSAGE, mqConsumer_onMessage );
  this.mqConsumer.addEventListener(MessageFaultEvent.FAULT, onMessageFault);
  
  this.mqConsumer.subqueue = subQueue;
  this.mqConsumer.subscribe();
}

Here&#039;s also the WebORB configuration stuff:
	
	  
	    
	      .\private$\[destinationName]
	      0
	      0
	      00000000-0000-0000-0000-000000000000
	      WebORB MessageQueue for Messages from Windows client
	      4294967295
	      false
	      4294967295
	    
	  
	  
	    
	  
	

I don&#039;t know what else to do but instead of using MSMQ to periodically probe the server...</description>
		<content:encoded><![CDATA[<p>It seams I have discovered a bug in the WebORB. The applet I&#8217;m developing subscribes to one of the 10 existing sub queues. Depending on the user actions, the applet changes the queue it&#8217;s subscribed to. After it has changed the sub queue for let&#8217;s say 30 times, the WebORB stops responding, along with IIS, so I have to restart the whole darn thing.</p>
<p>Since the example provided by The Midnight Coderers didn&#8217;t prove to work I tried also to implement your solution. Again without success.</p>
<p>Here are my two Functions which do the job of un/subscribing:<br />
private function msmqUnSubscribe():void {<br />
  if(this.mqConsumer) {</p>
<p>  this.mqConsumer.removeEventListener( MessageEvent.MESSAGE, mqConsumer_onMessage );<br />
  this.mqConsumer.removeEventListener( MessageFaultEvent.FAULT, onMessageFault );<br />
  this.mqConsumer.channelSet.disconnectAll();</p>
<p>  this.mqConsumer.unsubscribe();<br />
  this.mqConsumer.disconnect();</p>
<p>  this.mqConsumer = null;<br />
  }<br />
}</p>
<p>private function msmqSubscribe():void {</p>
<p>  var subQueue:String = this.aPages.getItemAt(this.iActivePage)["page"];</p>
<p>  var cs:ChannelSet = new ChannelSet();<br />
  var uri:String = &#8220;rtmp://{server.name}:2037/&#8221;;</p>
<p>  var channel:WeborbMessagingChannel = new WeborbMessagingChannel(subQueue, uri);<br />
  channel.addEventListener(MessageEvent.MESSAGE, onMessage);<br />
  cs.addChannel(channel);</p>
<p>  this.mqConsumer = new WeborbConsumer();<br />
  this.mqConsumer.destination = &#8220;ttx&#8221;;<br />
  this.mqConsumer.channelSet = cs;</p>
<p>  this.mqConsumer.addEventListener( MessageEvent.MESSAGE, mqConsumer_onMessage );<br />
  this.mqConsumer.addEventListener(MessageFaultEvent.FAULT, onMessageFault);</p>
<p>  this.mqConsumer.subqueue = subQueue;<br />
  this.mqConsumer.subscribe();<br />
}</p>
<p>Here&#8217;s also the WebORB configuration stuff:</p>
<p>	      .\private$\[destinationName]<br />
	      0<br />
	      0<br />
	      00000000-0000-0000-0000-000000000000<br />
	      WebORB MessageQueue for Messages from Windows client<br />
	      4294967295<br />
	      false<br />
	      4294967295</p>
<p>I don&#8217;t know what else to do but instead of using MSMQ to periodically probe the server&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17886</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 22 Oct 2009 16:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17886</guid>
		<description>I think that&#039;s the main difference with our way of working. We do not use the weborb-services-config.xml in the Flex compile option. I know the examples from weborb use this, but it&#039;s not necessary. In my examples you can see how it&#039;s done without the Flex compile option. We do not use it because it is compiled with the code into an swf, so if you change it, you have to compile it again. We use &lt;a href=&quot;http://www.springactionscript.org/&quot; rel=&quot;nofollow&quot;&gt;Spring Actionscript&lt;/a&gt; to configure everything.

To answer your question I&#039;ll give you a link that somehow does what you are doing but not with a Perl program (it&#039;s a Windows Form Application). See &lt;a href=&quot;http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technical-articles/data-push-from-msmq-to-flex-consumers.html&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt;. Here Flex subscribes to a certain queue and the Windows Form Application pushes messages into the queue. They finally arrive in Flex, so it&#039;s certainly possible. I once tried the example and it worked.

How does WebOrb know which messages to pull from the queue? The queues that WebOrb listens to are configured in one of the xml files in WEB-INF. I don&#039;t know how WebOrb does it in code because it&#039;s a black box. If you&#039;d like to know in terms of source code how it&#039;s being done, you&#039;d have to check FluorineFx, the open source alternative that works somehow the same.</description>
		<content:encoded><![CDATA[<p>I think that&#8217;s the main difference with our way of working. We do not use the weborb-services-config.xml in the Flex compile option. I know the examples from weborb use this, but it&#8217;s not necessary. In my examples you can see how it&#8217;s done without the Flex compile option. We do not use it because it is compiled with the code into an swf, so if you change it, you have to compile it again. We use <a href="http://www.springactionscript.org/" rel="nofollow">Spring Actionscript</a> to configure everything.</p>
<p>To answer your question I&#8217;ll give you a link that somehow does what you are doing but not with a Perl program (it&#8217;s a Windows Form Application). See <a href="http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technical-articles/data-push-from-msmq-to-flex-consumers.html" rel="nofollow">link</a>. Here Flex subscribes to a certain queue and the Windows Form Application pushes messages into the queue. They finally arrive in Flex, so it&#8217;s certainly possible. I once tried the example and it worked.</p>
<p>How does WebOrb know which messages to pull from the queue? The queues that WebOrb listens to are configured in one of the xml files in WEB-INF. I don&#8217;t know how WebOrb does it in code because it&#8217;s a black box. If you&#8217;d like to know in terms of source code how it&#8217;s being done, you&#8217;d have to check FluorineFx, the open source alternative that works somehow the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark K</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17859</link>
		<dc:creator>Mark K</dc:creator>
		<pubDate>Wed, 21 Oct 2009 20:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17859</guid>
		<description>Hi,
OK, I have finally got things working, but this leads to the next problem/question.  Oh, and first, I should say that I&#039;m not totally sure what I did. For a while I was missing weborb-services-config.xml in the Flex compile option and then later I found that if there was a bad message in the queue, then nothing would happen. Deleting the queue and restarting with an empty Q solved that.  However, this leads to my next question:  How does WebOrb know which messages to pull from the queue?  Initially I was writing an object that I defined in C# into the Queue. When I look at this message body in the queue, it has a header and a char count as well as the actual data. Where does this extra header come from?  I&#039;m asking because I am now writing into the Queue from a Perl program, and all the Perl writesis a simple string of data.  WebOrb refuses to process this message and never sends it to my Flex Consumer.  
The whole business of registering an alias in Flex of a C# object and how that relates to the queue is very mysterious and I don&#039;t know how it works.
My big goal in life has been to kick off a Perl batch program that runs for about 10 minutes and writes various progress status messages. These messages I wanted to appear in a Flex window as they occur. So I have Flex calling C# which kicks off the Perl and then Perl writes to the MSMQ.  But then it all stops, as Weborb won&#039;t process the message. Is there some secret spec for fomatting msgs for Weborb?
Cheers</description>
		<content:encoded><![CDATA[<p>Hi,<br />
OK, I have finally got things working, but this leads to the next problem/question.  Oh, and first, I should say that I&#8217;m not totally sure what I did. For a while I was missing weborb-services-config.xml in the Flex compile option and then later I found that if there was a bad message in the queue, then nothing would happen. Deleting the queue and restarting with an empty Q solved that.  However, this leads to my next question:  How does WebOrb know which messages to pull from the queue?  Initially I was writing an object that I defined in C# into the Queue. When I look at this message body in the queue, it has a header and a char count as well as the actual data. Where does this extra header come from?  I&#8217;m asking because I am now writing into the Queue from a Perl program, and all the Perl writesis a simple string of data.  WebOrb refuses to process this message and never sends it to my Flex Consumer.<br />
The whole business of registering an alias in Flex of a C# object and how that relates to the queue is very mysterious and I don&#8217;t know how it works.<br />
My big goal in life has been to kick off a Perl batch program that runs for about 10 minutes and writes various progress status messages. These messages I wanted to appear in a Flex window as they occur. So I have Flex calling C# which kicks off the Perl and then Perl writes to the MSMQ.  But then it all stops, as Weborb won&#8217;t process the message. Is there some secret spec for fomatting msgs for Weborb?<br />
Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17748</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 17 Oct 2009 11:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17748</guid>
		<description>Hi Mark, already found a solution to your problem? Last week I ran into an email from a year ago where we had the same problem. However, it was a problem we had in the network of a customer. We still haven&#039;t found what the problem is nor a solution. I think however that your problem is different from the one at our customer. If the examples from weborb are working, then you are doing something wrong. I really suggest setting up a new site in iis with weborb in it (but not the weborbee.exe) and trying this example (this blogpost).

If, before you run your example, you surfed to the weborb examples on your localhost, then the port 2037 will be blocked. You&#039;ll need to restart iis and in Task Manager end the w3wp.exe processes (if an example is not working I suggest to do this before giving up on your example). I&#039;m talking about what to do in Vista, maybe on XP the process has another name.

Greetz</description>
		<content:encoded><![CDATA[<p>Hi Mark, already found a solution to your problem? Last week I ran into an email from a year ago where we had the same problem. However, it was a problem we had in the network of a customer. We still haven&#8217;t found what the problem is nor a solution. I think however that your problem is different from the one at our customer. If the examples from weborb are working, then you are doing something wrong. I really suggest setting up a new site in iis with weborb in it (but not the weborbee.exe) and trying this example (this blogpost).</p>
<p>If, before you run your example, you surfed to the weborb examples on your localhost, then the port 2037 will be blocked. You&#8217;ll need to restart iis and in Task Manager end the w3wp.exe processes (if an example is not working I suggest to do this before giving up on your example). I&#8217;m talking about what to do in Vista, maybe on XP the process has another name.</p>
<p>Greetz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark K</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17427</link>
		<dc:creator>Mark K</dc:creator>
		<pubDate>Wed, 07 Oct 2009 12:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17427</guid>
		<description>Ooops.  Looks like I have to do some formatting magic to post code here properly.</description>
		<content:encoded><![CDATA[<p>Ooops.  Looks like I have to do some formatting magic to post code here properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark K</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17422</link>
		<dc:creator>Mark K</dc:creator>
		<pubDate>Wed, 07 Oct 2009 11:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17422</guid>
		<description>I copied the example from  http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technical-articles/data-push-from-msmq-to-flex-consumers.html 
So the webor-services-config has this entry:
     
            
        
and the mesaging-config has this code:
   
  	
    	
      		.\private$\weborb-mqpush
     		 
      		0
      		0
      		00000000-0000-0000-0000-000000000000
      		WebORB MessageQueue for Messages from Windows client
      		4294967295
      		false
      		4294967295 
    	
  	
  	
    		
  	
    

Then in global.asax I have:
void Application_Start(object sender, EventArgs e) 
    {
        try
        {
           Weborb.Config.ORBConfig config = new Weborb.Config.ORBConfig();
           Weborb.Messaging.RTMPServer server = new Weborb.Messaging.RTMPServer( &quot;default&quot;, 2037, 500, config );
           server.start();
           Application[ &quot;weborbMessagingServer&quot; ] = server;                   
        }
        catch( Exception )
        {
        }      
    }

and all the rest of the code is exactly untouched from the Midnight coders example.</description>
		<content:encoded><![CDATA[<p>I copied the example from  <a href="http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technical-articles/data-push-from-msmq-to-flex-consumers.html" rel="nofollow">http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technical-articles/data-push-from-msmq-to-flex-consumers.html</a><br />
So the webor-services-config has this entry:</p>
<p>and the mesaging-config has this code:</p>
<p>      		.\private$\weborb-mqpush</p>
<p>      		0<br />
      		0<br />
      		00000000-0000-0000-0000-000000000000<br />
      		WebORB MessageQueue for Messages from Windows client<br />
      		4294967295<br />
      		false<br />
      		4294967295 </p>
<p>Then in global.asax I have:<br />
void Application_Start(object sender, EventArgs e)<br />
    {<br />
        try<br />
        {<br />
           Weborb.Config.ORBConfig config = new Weborb.Config.ORBConfig();<br />
           Weborb.Messaging.RTMPServer server = new Weborb.Messaging.RTMPServer( &#8220;default&#8221;, 2037, 500, config );<br />
           server.start();<br />
           Application[ "weborbMessagingServer" ] = server;<br />
        }<br />
        catch( Exception )<br />
        {<br />
        }<br />
    }</p>
<p>and all the rest of the code is exactly untouched from the Midnight coders example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17402</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 06 Oct 2009 21:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17402</guid>
		<description>I think the weborbee.exe is created by weborb to be independent of local settings in IIS, ASP.NET, ...  In the weborbee.exe they start the rtmp server. I usely create a new site in IIS and copy the necessary files from weborb into the site (but not the weborbee.exe). Then run diagnostics.aspx to see if everything is ok. If ok, run the weborbconsole. At the top you can check whether messaging is activated. Messaging should be activated with the code in global.asax (you can set a breakpoint to check). 

I had your problem in the past. In my case I had a different site set up with weborb. First I went to the weborb installation site. The weborbee.exe was started and port 2037 was used. If I ran the example in my custom site, the same thing happened as in your case. Apparently both sites could sent messages to MSMQ but only the first started (weborb installation site) was listening if new messages were added.

Maybe you can send me your example and I&#039;ll have a look at it.

You copied the example code for Data Push out of the example weborb provided? Or my example?</description>
		<content:encoded><![CDATA[<p>I think the weborbee.exe is created by weborb to be independent of local settings in IIS, ASP.NET, &#8230;  In the weborbee.exe they start the rtmp server. I usely create a new site in IIS and copy the necessary files from weborb into the site (but not the weborbee.exe). Then run diagnostics.aspx to see if everything is ok. If ok, run the weborbconsole. At the top you can check whether messaging is activated. Messaging should be activated with the code in global.asax (you can set a breakpoint to check). </p>
<p>I had your problem in the past. In my case I had a different site set up with weborb. First I went to the weborb installation site. The weborbee.exe was started and port 2037 was used. If I ran the example in my custom site, the same thing happened as in your case. Apparently both sites could sent messages to MSMQ but only the first started (weborb installation site) was listening if new messages were added.</p>
<p>Maybe you can send me your example and I&#8217;ll have a look at it.</p>
<p>You copied the example code for Data Push out of the example weborb provided? Or my example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark K</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17398</link>
		<dc:creator>Mark K</dc:creator>
		<pubDate>Tue, 06 Oct 2009 19:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17398</guid>
		<description>Thx for the help.
I am using the weborb installation site. I tried going into global.asax and commenting out the Weborb.Messaging.RTMPServer start command. Then I ran weborbee -port 2037 after restarting IIs, but it made no difference, still nothing.

Re the Weborb installation example:
I tried the &#039;flex message with MSMQ&#039; example (the one with the drawing board and text panels) and it worked great. I even checked the MSMQ and could see the messages and the queue listed.

I guess I don&#039;t realy understand what weborbee is doing and what the server.start is doing from within the global.asax.  Why do we need weborbee if we can start a server from global.asax?

Anyway, having said all that, I&#039;m no closer to a solution, and the strange thing, is that I simply copied the example code for Data Push.</description>
		<content:encoded><![CDATA[<p>Thx for the help.<br />
I am using the weborb installation site. I tried going into global.asax and commenting out the Weborb.Messaging.RTMPServer start command. Then I ran weborbee -port 2037 after restarting IIs, but it made no difference, still nothing.</p>
<p>Re the Weborb installation example:<br />
I tried the &#8216;flex message with MSMQ&#8217; example (the one with the drawing board and text panels) and it worked great. I even checked the MSMQ and could see the messages and the queue listed.</p>
<p>I guess I don&#8217;t realy understand what weborbee is doing and what the server.start is doing from within the global.asax.  Why do we need weborbee if we can start a server from global.asax?</p>
<p>Anyway, having said all that, I&#8217;m no closer to a solution, and the strange thing, is that I simply copied the example code for Data Push.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.johlero.eu/2008/05/31/flex-integration-with-microsoft-message-queuing-msmq-using-weborb/comment-page-1/#comment-17391</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 06 Oct 2009 15:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johlero.eu/?p=43#comment-17391</guid>
		<description>Hi Mark, it has been a while since I&#039;ve worked on messaging but I&#039;ll try to give you what I got. In the beginning I also worked with that weborbee.exe and had some trouble with it. Are you using the weborb installation site or have you created a custom site with weborb enabled? I think the weborbee.exe will open a connection on port 2037. So if you have created your own custom site application and allready browsed to the weborb installation site (to look at examples for instance), then the port 2037 is already taken. I don&#039;t know if you can follow me. You should try to restart IIS before running your example.

Does the example in the weborb installation work?

I do not work with the weborbee.exe, instead I start the RTMPServer for WebORB in the Application_Start of the global.asax (there are also examples on this in the weborb installation I think).

void Application_Start(object sender, EventArgs e) 
{
    try
        {
            Weborb.Config.ORBConfig config = new Weborb.Config.ORBConfig();
            
            String name = &quot;default&quot;;
			int port = Convert.ToInt32(ConfigurationManager.AppSettings[&quot;WebORBMessagingPort&quot;]);
            int backlog = 500;
            log.Info(&quot;Starting RTMPServer(&quot; + name + &quot;, &quot; + port + &quot;, &quot; + backlog + &quot;, &quot; + config.ToString());
             
            Weborb.Messaging.RTMPServer server = new Weborb.Messaging.RTMPServer( &quot;default&quot;, port, 500, config );
            server.start();
            Application[ &quot;weborbMessagingServer&quot; ] = server;
			
			
			
			//Weborb.Util.Logging.Log.removeLogger(&quot;default&quot;);
        }
        catch( Exception exception )
        {
            log.Error(&quot;Application_Start&quot;, exception);
        }      
}

Even if you use the global.asax, restart IIS before running the example.

Answer some of the questions and maybe I can be a little more specific. 

If you go to http://localhost/weborb30/weborbconsole.html , you should try the example Flex Messaging With MSMQ. If that&#039;s working, then we should be able to find a solution.</description>
		<content:encoded><![CDATA[<p>Hi Mark, it has been a while since I&#8217;ve worked on messaging but I&#8217;ll try to give you what I got. In the beginning I also worked with that weborbee.exe and had some trouble with it. Are you using the weborb installation site or have you created a custom site with weborb enabled? I think the weborbee.exe will open a connection on port 2037. So if you have created your own custom site application and allready browsed to the weborb installation site (to look at examples for instance), then the port 2037 is already taken. I don&#8217;t know if you can follow me. You should try to restart IIS before running your example.</p>
<p>Does the example in the weborb installation work?</p>
<p>I do not work with the weborbee.exe, instead I start the RTMPServer for WebORB in the Application_Start of the global.asax (there are also examples on this in the weborb installation I think).</p>
<p>void Application_Start(object sender, EventArgs e)<br />
{<br />
    try<br />
        {<br />
            Weborb.Config.ORBConfig config = new Weborb.Config.ORBConfig();</p>
<p>            String name = &#8220;default&#8221;;<br />
			int port = Convert.ToInt32(ConfigurationManager.AppSettings["WebORBMessagingPort"]);<br />
            int backlog = 500;<br />
            log.Info(&#8220;Starting RTMPServer(&#8221; + name + &#8220;, &#8221; + port + &#8220;, &#8221; + backlog + &#8220;, &#8221; + config.ToString());</p>
<p>            Weborb.Messaging.RTMPServer server = new Weborb.Messaging.RTMPServer( &#8220;default&#8221;, port, 500, config );<br />
            server.start();<br />
            Application[ "weborbMessagingServer" ] = server;</p>
<p>			//Weborb.Util.Logging.Log.removeLogger(&#8220;default&#8221;);<br />
        }<br />
        catch( Exception exception )<br />
        {<br />
            log.Error(&#8220;Application_Start&#8221;, exception);<br />
        }<br />
}</p>
<p>Even if you use the global.asax, restart IIS before running the example.</p>
<p>Answer some of the questions and maybe I can be a little more specific. </p>
<p>If you go to <a href="http://localhost/weborb30/weborbconsole.html" rel="nofollow">http://localhost/weborb30/weborbconsole.html</a> , you should try the example Flex Messaging With MSMQ. If that&#8217;s working, then we should be able to find a solution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
