Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-28 Thread David Karlsen
Tried building it earlier on before I sent the mail - but it failed on some missing jboss component (built the whole tree). Anyways - working fine with 2.14.1-SNAPSHOT! Thanks! 2014-09-28 21:10 GMT+02:00 Babak Vahdat : > Ah but much easier is to build the master branch on your box locally using >

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-28 Thread Babak Vahdat
Ah but much easier is to build the master branch on your box locally using the latest codebase (however without running the tests which would not take more than couple of minutes) so that your m2-cache for the 2.15-SNAPSHOT version is up-to-date. Then you could run/test your app using your locally

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-28 Thread David Karlsen
Did not work with latest published snapshots - but perhaps a successful build&deploy has not yet completed? 2014-09-27 22:40 GMT+02:00 Babak Vahdat : > Thanks for raising the ticket which is fixed now, both on the master as > well > as the 2.14.x branch. Would you mind to give it a shot to see if

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-27 Thread Babak Vahdat
Thanks for raising the ticket which is fixed now, both on the master as well as the 2.14.x branch. Would you mind to give it a shot to see if it works for you now? I also raised another ticket regarding my previous comment about the possible improvement https://issues.apache.org/jira/browse/CAMEL-

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-27 Thread David Karlsen
Created https://issues.apache.org/jira/browse/CAMEL-7874 2014-09-27 17:13 GMT+02:00 Babak Vahdat : > Hi, > > I looked a bit into the codebase regarding this and spotted some space for > improvement: > > - First of all there's a copy/paste typo at the following line (pasted from > the previous co

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-27 Thread Babak Vahdat
Hi, I looked a bit into the codebase regarding this and spotted some space for improvement: - First of all there's a copy/paste typo at the following line (pasted from the previous code block): https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/model/dataformat

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-27 Thread Claus Ibsen
Hi If you can build an unit test or small sample project that demonstrates the issue, we can use that to track down the issue. On Sat, Sep 27, 2014 at 12:14 PM, David Karlsen wrote: > Any update on this? > > 2014-09-21 22:28 GMT+02:00 David Karlsen : > >> java.lang.IllegalStateException: Failed

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-27 Thread David Karlsen
Any update on this? 2014-09-21 22:28 GMT+02:00 David Karlsen : > java.lang.IllegalStateException: Failed to load ApplicationContext > > at > org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:91) > > at >

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-21 Thread David Karlsen
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:91) at org.springframework.test.context.DefaultTestContext.getApplicationContext(De

Re: Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-20 Thread Claus Ibsen
Hi Don't you have more in the stacktrace or some other error? There is maybe some NPE that hides this error. On Fri, Sep 19, 2014 at 1:53 PM, David Karlsen wrote: > With the config: > > > > > I get: > > .. because of Failed to set property: prettyPrint on: > org.ap

Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-19 Thread David Karlsen
With the config: I get: .. because of Failed to set property: prettyPrint on: org.apache.camel.component.jackson.JacksonDataFormat@77ab22be. Reason: java.lang.IllegalArgumentException: Could not find a suitable setter for property: prettyPrint as there isn't a sette