dev@grizzly.java.net

Re: RSS BC port unification

From: Andreas Egloff <Andreas.Egloff_at_Sun.COM>
Date: Tue, 05 Jun 2007 12:15:20 -0700

James can correct me here if I'm off base, but I think we would want to
distinguish primarily according to the URL context, e.g. we might deploy
WSDLs with addresses such as /feed/xxx to the RSS BC, we would want to
direct such requests to the RSS BC in that case.

Worst case I guess we could go distinguish by protocol, but we were
hoping to leave the portocol details up to the Rome stack.

Andi

Oleksiy Stashok wrote:
> Hi James,
>
> how you can distinct between regular HTTP protocol and RSS BC? Just by
> resource file which is requested?
>
> WBR,
> Alexey.
>
> James Lorenzen wrote:
>>
>> My team has recently created/open sourced an RSS Binding Component to
>> be used within OpenESB: https://rss-bc.dev.java.net/.
>>
>> One of the features supported is the ability for components to
>> publish entries locally to be viewed by RSS Readers. RSS Readers use
>> HTTP GET to retrieve a syndication feed. We originally hoped that we
>> could reuse the HTTP BC to receive the GET and forward to the RSS BC;
>> however this presented a lot of problems so we decided to embed a
>> small server in the RSS BC to handle the HTTP GETs.
>>
>> Unfortunately what this means is that we now consume yet another
>> port. For example the HTTP BC typically uses by default port 18181
>> and now the RSS BC will be using say port 18282. Ultimately we would
>> like to use the same port.
>>
>> I have read Jean-Francois article on port unification
>> <http://weblogs.java.net/blog/jfarcand/archive/2006/11/one_port_to_rul.html>
>> but it’s unclear to me how the RSS and HTTP BC could use the same
>> port. Programmatically what do I need to do to make this happen?
>>