Re: Camel JAXB DataFormat is not thread safe

2013-08-22 Thread Hack Kampbjørn
A workaround is to use a SchemaFactory implementation that is thread safe. The one bundled in JDK is not but the one in Xerces is. On 2013-08-22, at 12:38, solimo wrote: > Oh, how could I miss CAMEL-6630. Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com

IOC on IOC

2013-08-22 Thread gliesian
Say I have a Spring DSL camel route... Rather than doing "mvn camel:run", how can I invoke this route through a main method... why preserving the Spring DSL? Thanks, Robert -- View this message in context: http://camel.465427.n5.nabble.com/IOC-on-IOC-tp5737796.html Sent from the Camel - Users

Re: Connecting remotely via JMX

2013-08-22 Thread Willem jiang
What's the error did you get? BTW, which version of JDK were you using? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: wille

Re: String to Endpoint

2013-08-22 Thread Christian Posta
What endpoint will you use to fetch the webpage? Might be able to use headers... On Thursday, August 22, 2013, Jose Espinosa wrote: > Hi, > > > I am writing a route that needs to fetch data from a webpage, the > source webpage depends of the input message. My current > implementation uses "dynam

String to Endpoint

2013-08-22 Thread Jose Espinosa
Hi, I am writing a route that needs to fetch data from a webpage, the source webpage depends of the input message. My current implementation uses "dynamicRouter" but the need of track multiple calls (I just need to go to fetch the data once) is a big turn off. Is there a way to make dynamic ro

disconnectOnNoReply not working...

2013-08-22 Thread milltj
Pontus: You are correct. I realized it was incorrect it should be... http://camel.apache.org/schema/spring";> &*codec=#gilbarcoDecoder" /> That corrects the datalength error, but unfortunately it is still disconnecting when a response

Re: Mina BufferDataException when using disconnectOnNoReply option

2013-08-22 Thread Pontus Ullgren
I have never used the mina component so I could be out on thin ice here. But I am not sure about the ';' to separate the parameters. Should it not be '&'? Best regards Pontus Den 21 aug 2013 17:58 skrev "milltj" : > Ok, So I decided to go back to the drawing board and decided to run some > tests

AW: How to called the processor

2013-08-22 Thread jhm
> > *can i able to do as below, if not then how can i acheive it ?* > > from("direct:start").process(new Processor() { > > @Override > public void process(Exchange exchange) > throws Exception { >

Re: Connecting remotely via JMX

2013-08-22 Thread Tyler Durvik
Here's my Java code: public static void main(String[] args) throws Exception { CamelContext camelCtx = new DefaultCamelContext(); camelCtx.getManagementStrategy().getManagementAgent().setCreateConnector(true); camelCtx.getManagementStrategy().getManagementAgent().setUsePlatformMBeanServer(true);

Re: Connecting remotely via JMX

2013-08-22 Thread Claus Ibsen
Before you call the .start() method on CamelContext, you can configure Camel. On Thu, Aug 22, 2013 at 2:48 PM, Mark wrote: > How is that done using Java DSL? I am doing "mvn exec:java". > > > > On Thu, Aug 22, 2013 at 2:08 AM, Claus Ibsen wrote: > >> Hi >> >> Did you configure the JMX settings

Re: Nesting choices is broken!!

2013-08-22 Thread Dale King
Yes, I had already added my post to the comments on that ticket. On Aug 22, 2013 10:16 AM, "Claus Ibsen" wrote: > Hi > > Yeah its sorta logged in this ticket already > https://issues.apache.org/jira/browse/CAMEL-6447 > > On Mon, Aug 19, 2013 at 11:08 PM, dalewking wrote: > > Here is the route wi

Re: Nesting choices is broken!!

2013-08-22 Thread Claus Ibsen
Hi Yeah its sorta logged in this ticket already https://issues.apache.org/jira/browse/CAMEL-6447 On Mon, Aug 19, 2013 at 11:08 PM, dalewking wrote: > Here is the route with the formatting preserved. I realize in this case that > the 2 choices could have been flattened into one, but I actually di

Re: How to called the processor

2013-08-22 Thread abhimukh
on the blog "http://saltnlight5.blogspot.se"; there is an example where route is created as follow from("timer://timer1?period=1000") .process(new Processor() { public void process(Exchange msg) { LOG.info("Processing {}", msg); } }); *can

Re: How to called the processor

2013-08-22 Thread Claus Ibsen
Hi Try for example the console example http://camel.apache.org/console-example.html And in your example you can use a timer or something to schedule the route to start http://camel.apache.org/timer And see for example this blog about using Camel with Java http://saltnlight5.blogspot.se/2013/08/g

How to called the processor

2013-08-22 Thread abhimukh
Hi, am novice to Apache camel, I want to write the Standalone Camel class, just to called the processor for this i had written the following class and expect it should print the message on the console but its not working. can somebody help in this, how can i achieve it, and what am missing, the cl

Re: Connecting remotely via JMX

2013-08-22 Thread Mark
How is that done using Java DSL? I am doing "mvn exec:java". On Thu, Aug 22, 2013 at 2:08 AM, Claus Ibsen wrote: > Hi > > Did you configure the JMX settings before you started CamelContext? > This is needed for it to have effect. > > > On Wed, Aug 21, 2013 at 7:07 PM, Tyler Durvik wrote: > >

Re: Camel JAXB DataFormat is not thread safe

2013-08-22 Thread solimo
Oh, how could I miss CAMEL-6630. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JAXB-DataFormat-is-not-thread-safe-tp5737748p5737759.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel JAXB DataFormat is not thread safe

2013-08-22 Thread Claus Ibsen
Hi This is fixed by CAMEL-6630 On Thu, Aug 22, 2013 at 10:56 AM, solimo wrote: > Hello! > > Recently, I've encountered an issue (I suppose) connected with Camel's > DataFormat implementation - the JAXB one. Due to exhausting tests, which we > currently perform we've noticed that Camel's implemen

Re: Time to deliver a message?

2013-08-22 Thread John D. Ament
Oh, right now we're in dev mode only. It's noticeable after a few minutes of operating. The time will fluctuate. In some cases, I see it almost immediately processed and in others I've seen it wait up to 10 minutes to process a message (if it takes longer than this we've been giving up and tryin

Re: Time to deliver a message?

2013-08-22 Thread Christian Müller
Details like: - Which message broker do you use? Which version? - If you use ActiveMQ, do you use an embedded or external broker? - How does your route look like (Which message exchange pattern do you use? Which payload do you use?) - What exactly do you mean with "over the time"? Minutes, hours,

Re: MTOM message part not formatted correctly according to RFC 1341 using CRLFLF instead of CRLFCRLF

2013-08-22 Thread Christian Müller
Thanks for sharing! Because this CXF issue is fixed in CXF 2.5.7, 2.6.4 and 2.7.1, the following Camel versions should work too for you: Camel 2.9.6+ Camel 2.10.4+ Camel 2.11.0+ Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/t

Re: Exception when trying to create a route including jdbc:sqlserver

2013-08-22 Thread lassesvestergaard
Great! That worked, thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Exception-when-trying-to-create-a-route-including-jdbc-sqlserver-tp5737657p5737749.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel JAXB DataFormat is not thread safe

2013-08-22 Thread solimo
Hello! Recently, I've encountered an issue (I suppose) connected with Camel's DataFormat implementation - the JAXB one. Due to exhausting tests, which we currently perform we've noticed that Camel's implementation uses JAXB's instances correctly (context is thread safe but products of context are

Re: camel 2.11.0 file move/moveFailed error, but 2.10.4 works fine

2013-08-22 Thread billy ding
Hi, Just give updates, after I tried the latest 2.11.1, it works fine. Can someone tell me the reason what happened in 2.11.0? I am curious to the details. -- View this message in context: http://camel.465427.n5.nabble.com/camel-2-11-0-file-move-moveFailed-error-but-2-10-4-works-fine-tp5737743

camel 2.11.0 file move/moveFailed error, but 2.10.4 works fine

2013-08-22 Thread billy ding
I have a file: component like below file.trigger.directory=trigger file.trigger.error.directory=.error file.trigger.done.directory=.done when I use 2.11.0. when the route has exception, it throws below exception: 2013-08-22 17:07:39 WARN GenericFileOnCompletion:136 - Caused by: [org.apache.cam

Re: Using SSL Certificates and connecting to https:// port -Truststore files provided

2013-08-22 Thread Willem jiang
Hi, You can take a look at the CXF example[1], and apply the configuration of http-conduit configure on the camel configuration file. [1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-ConfiguringSSLSupport -- Willem

Using SSL Certificates and connecting to https:// port -Truststore files provided

2013-08-22 Thread contactreji
Hi all Hope you all having good time riding the camel! :-p Well, I am kinda working upon security part in web service. - I have a webservice exposing a port address enabled with HTTPS. - They have given me the keystore along with all relevant passwords. Now I need to call the webservice wit