camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Issue with use of SSLFilter with a custom codec
Date Thu, 03 Jan 2013 08:01:58 GMT
Hi

What Camel version are you using?
And which Camel component are you referring to? Could it be camel-mina
? eg the Mina 1.x based component?
And how have you configured the Camel component/route?



On Thu, Jan 3, 2013 at 1:11 AM, James Gough <jim@certifydatasystems.com> wrote:
> I am trying to use SSLFilter with a custom codec, but it appears that my
> client (for which I have called SSLFilter's "setUseClientMode" method with a
> setting of true), is calling SSLFilter prior to calling the codec, and it
> calls the decoder's decode method rather than the encoder's encode method,
> which is called when sslFilter is not used.
>
> It goes something like this:
>
> SSLFilter used:
> caller -> SSLFilter -> codec's decoder.decode() method -> service
>
> SSLFilter not used:
> caller -> codec's encoder.encode() method -> service
>
> The codec also is handed an encrypted message, which is useless since I have
> to do some stuff to it prior to sending it.
>
> Any hints?



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

Mime
View raw message