Re: Logging in Apache camel

2018-04-13 Thread gokuljayaraj
Hi Claus, Thanks. Was able to get it to work. Besides just noticed something. On an exchange with no out, initially exchange.hasOut() returns false. But if I just call exchange.getOut() and exchange.hasOut() becomes true and causes issues. Is this expected? Get Outlook for Androi

Re: Logging in Apache camel

2018-04-13 Thread Claus Ibsen
On Fri, Apr 13, 2018 at 9:23 AM, wrote: > Hi Claus, > > > > > Thanks. Was able to get it to work. Besides just noticed something. > > > > > On an exchange with no out, initially exchange.hasOut() returns false. > > > But if I just call exchange.getOut() and exchange.hasOut() becomes true and > c

MLLP and TLS

2018-04-13 Thread Walzer, Thomas
Hi everyone, is there a way to use TLS (SSLContext) when using camel-mllp (like there is when using camel-netty/netty4)? >From the docs&tests I would say no. Any plans to do so? Cheers, Thomas.

How to accomplish with java?

2018-04-13 Thread Hrvoje Djurdjevic
Hi, .setBody(simple("a ")) .log("body length is ${body.length}") gives me this: body length is 1 and I want 2 here, instead of 1, due to a trailing blank, context sensitive help within java editor doesn't give me a clue how to suppress trim. I'm using Apache Camel 2.20.1 , thanks in advance. B

Re: How to accomplish with java?

2018-04-13 Thread Claus Ibsen
You can turn off trim via SimpleExpression se = new SimpleExpression("a "); se.setTrim(false); .setBody(se) On Fri, Apr 13, 2018 at 9:48 AM, Hrvoje Djurdjevic wrote: > Hi, > > .setBody(simple("a ")) > .log("body length is ${body.length}") > > gives me this: > > body length is 1 > > and I want

Re: How to accomplish with java?

2018-04-13 Thread Hrvoje Djurdjevic
Claus, thank you very much! On Fri, Apr 13, 2018 at 9:58 AM, Claus Ibsen wrote: > You can turn off trim via > > SimpleExpression se = new SimpleExpression("a "); > se.setTrim(false); > > .setBody(se) > > > > On Fri, Apr 13, 2018 at 9:48 AM, Hrvoje Djurdjevic > wrote: > > Hi, > > > > .setBody(si

Re: MLLP and TLS

2018-04-13 Thread Quinn Stevenson
I hadn’t planned on that since none of the applications I’ve encountered so far support TLS connections, but it could be done. I’ve always had to use VPNs when SSL/TLS was required. > On Apr 13, 2018, at 1:46 AM, Walzer, Thomas > wrote: > > Hi everyone, > > is there a way to use TLS (SSLCo