dev@grizzly.java.net

Re: RSS BC port unification

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 04 Jun 2007 17:20:29 +0200

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?
>