You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Chris Wolf <cw...@gmail.com> on 2013/05/04 04:27:43 UTC

Will camel-websocket work in producer mode from a web app?

I see that it uses Jetty to launch a web server for camel-websocket in
producer mode.  I'm seeing some
dependency clashes with JBoss - before I sort that out - let me ask,
will it even work?

It seems a bit unconventional to launch an embedded servlet container
from within a web application.


Thanks,


Chris

Re: Will camel-websocket work in producer mode from a web app?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Typhus is the ri bus integrating with tomcat/jetty when deployed in them is
better too
Le 5 mai 2013 07:48, "Claus Ibsen" <cl...@gmail.com> a écrit :

> Hi
>
> Yeah using the websocket jsr would be a good idea. I would assume
> Atmosphere implements the JSR or will do.
> Though if there is another library than Atmosphere that implements the
> jsr then we can take a look at that too. Its not written in stone that
> we must use Atmosphere. Just  that ideally the websocket shouldn't be
> tied to Jetty as it is today.
>
> So if we can provide an alternative that would be nice.
>
> On Sat, May 4, 2013 at 10:34 AM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > Hi
> >
> > Would be great to use the new websocket jsr by default, no?
> > Le 4 mai 2013 10:29, "Claus Ibsen" <cl...@gmail.com> a écrit :
> >
> >> Hi
> >>
> >> No the current camel-websocket is Jetty based.
> >> There is a ticket to create a new component using the Atmosphere
> >> framework which is container agnostic.
> >>
> >> On Sat, May 4, 2013 at 4:27 AM, Chris Wolf <cw...@gmail.com>
> wrote:
> >> > I see that it uses Jetty to launch a web server for camel-websocket in
> >> > producer mode.  I'm seeing some
> >> > dependency clashes with JBoss - before I sort that out - let me ask,
> >> > will it even work?
> >> >
> >> > It seems a bit unconventional to launch an embedded servlet container
> >> > from within a web application.
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Chris
> >>
> >>
> >>
> >> --
> >> Claus Ibsen
> >> -----------------
> >> Red Hat, Inc.
> >> FuseSource is now part of Red Hat
> >> Email: cibsen@redhat.com
> >> Web: http://fusesource.com
> >> Twitter: davsclaus
> >> Blog: http://davsclaus.com
> >> Author of Camel in Action: http://www.manning.com/ibsen
> >>
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: Will camel-websocket work in producer mode from a web app?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah using the websocket jsr would be a good idea. I would assume
Atmosphere implements the JSR or will do.
Though if there is another library than Atmosphere that implements the
jsr then we can take a look at that too. Its not written in stone that
we must use Atmosphere. Just  that ideally the websocket shouldn't be
tied to Jetty as it is today.

So if we can provide an alternative that would be nice.

On Sat, May 4, 2013 at 10:34 AM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> Hi
>
> Would be great to use the new websocket jsr by default, no?
> Le 4 mai 2013 10:29, "Claus Ibsen" <cl...@gmail.com> a écrit :
>
>> Hi
>>
>> No the current camel-websocket is Jetty based.
>> There is a ticket to create a new component using the Atmosphere
>> framework which is container agnostic.
>>
>> On Sat, May 4, 2013 at 4:27 AM, Chris Wolf <cw...@gmail.com> wrote:
>> > I see that it uses Jetty to launch a web server for camel-websocket in
>> > producer mode.  I'm seeing some
>> > dependency clashes with JBoss - before I sort that out - let me ask,
>> > will it even work?
>> >
>> > It seems a bit unconventional to launch an embedded servlet container
>> > from within a web application.
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Chris
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> FuseSource is now part of Red Hat
>> Email: cibsen@redhat.com
>> Web: http://fusesource.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: Will camel-websocket work in producer mode from a web app?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

Would be great to use the new websocket jsr by default, no?
Le 4 mai 2013 10:29, "Claus Ibsen" <cl...@gmail.com> a écrit :

> Hi
>
> No the current camel-websocket is Jetty based.
> There is a ticket to create a new component using the Atmosphere
> framework which is container agnostic.
>
> On Sat, May 4, 2013 at 4:27 AM, Chris Wolf <cw...@gmail.com> wrote:
> > I see that it uses Jetty to launch a web server for camel-websocket in
> > producer mode.  I'm seeing some
> > dependency clashes with JBoss - before I sort that out - let me ask,
> > will it even work?
> >
> > It seems a bit unconventional to launch an embedded servlet container
> > from within a web application.
> >
> >
> > Thanks,
> >
> >
> > Chris
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: Will camel-websocket work in producer mode from a web app?

Posted by Chris Wolf <cw...@gmail.com>.
Thanks, ok.

On Sat, May 4, 2013 at 4:28 AM, Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> No the current camel-websocket is Jetty based.
> There is a ticket to create a new component using the Atmosphere
> framework which is container agnostic.
>
> On Sat, May 4, 2013 at 4:27 AM, Chris Wolf <cw...@gmail.com> wrote:
>> I see that it uses Jetty to launch a web server for camel-websocket in
>> producer mode.  I'm seeing some
>> dependency clashes with JBoss - before I sort that out - let me ask,
>> will it even work?
>>
>> It seems a bit unconventional to launch an embedded servlet container
>> from within a web application.
>>
>>
>> Thanks,
>>
>>
>> Chris
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen

Re: Will camel-websocket work in producer mode from a web app?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

No the current camel-websocket is Jetty based.
There is a ticket to create a new component using the Atmosphere
framework which is container agnostic.

On Sat, May 4, 2013 at 4:27 AM, Chris Wolf <cw...@gmail.com> wrote:
> I see that it uses Jetty to launch a web server for camel-websocket in
> producer mode.  I'm seeing some
> dependency clashes with JBoss - before I sort that out - let me ask,
> will it even work?
>
> It seems a bit unconventional to launch an embedded servlet container
> from within a web application.
>
>
> Thanks,
>
>
> Chris



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen