You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by huntc <hu...@mac.com> on 2008/12/12 14:05:44 UTC

MINA vm vs tcp in a route

Hi there,

This might well turn out to be a question for the MINA forum, but as I'm
using MINA inside Camel...

If I have an endpoint described like:


mina:tcp://localhost:11010?codec=ilvCodecFactory&amp;lazySessionCreation=true&amp;sync=true


and from() and to() declarations in my route configuration (so that I can be
a client and a server) then all is well i.e. the codec is invoked -
everything works as expected.

However if I replace "tcp" with "vm" the encoder/decoder is not invoked
i.e.:


mina:vm://localhost:11010?codec=ilvCodecFactory&amp;lazySessionCreation=true&amp;sync=true


Is there something about the Mina VM protocol that I'm not understanding
here?

Kind regards,
Christopher
-- 
View this message in context: http://www.nabble.com/MINA-vm-vs-tcp-in-a-route-tp20975238s22882p20975238.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: MINA vm vs tcp in a route

Posted by huntc <hu...@mac.com>.

Claus Ibsen-2 wrote:
> 
> It's a mistake in Camel. Could you create a ticket for this in JIRA?
> When wm protocol the camel-mina does not configure the codec and a few
> other options as well.
> 

Incident created:
https://issues.apache.org/activemq/browse/CAMEL-1187
-- 
View this message in context: http://www.nabble.com/MINA-vm-vs-tcp-in-a-route-tp20975238s22882p21008638.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: MINA vm vs tcp in a route

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

It's a mistake in Camel. Could you create a ticket for this in JIRA?
When wm protocol the camel-mina does not configure the codec and a few
other options as well.


On Fri, Dec 12, 2008 at 2:05 PM, huntc <hu...@mac.com> wrote:
>
> Hi there,
>
> This might well turn out to be a question for the MINA forum, but as I'm
> using MINA inside Camel...
>
> If I have an endpoint described like:
>
>
> mina:tcp://localhost:11010?codec=ilvCodecFactory&amp;lazySessionCreation=true&amp;sync=true
>
>
> and from() and to() declarations in my route configuration (so that I can be
> a client and a server) then all is well i.e. the codec is invoked -
> everything works as expected.
>
> However if I replace "tcp" with "vm" the encoder/decoder is not invoked
> i.e.:
>
>
> mina:vm://localhost:11010?codec=ilvCodecFactory&amp;lazySessionCreation=true&amp;sync=true
>
>
> Is there something about the Mina VM protocol that I'm not understanding
> here?
>
> Kind regards,
> Christopher
> --
> View this message in context: http://www.nabble.com/MINA-vm-vs-tcp-in-a-route-tp20975238s22882p20975238.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/