Re: Apache Camel RouteBuilder in Spring doesn't launch configure()

2015-07-02 Thread alexis.jacquemart
Hi Claus, I tried without arguments but I still get the same error. I'm going to try with a basic RouteBuilder from().to(), just to see if the problem is still here. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-RouteBuilder-in-Spring-doesn-t-launch-configure-

Wrong charset when using FTP2 component, locale issue?

2015-07-02 Thread Gustav Sinder
Hi, I've got an issue with files being parsed differently in different environments...specifically handling Swedish characters. The ftp endpoint is configured with: - charset=iso-8859-1 (matches file format) - binary=true For debug purposes, I'm writing the data (in UTF-8) f

Custom processor methods not visible in JConsole

2015-07-02 Thread tcdewit
Hi, Part of my camel route consists of a JMS queue, being polled and its messages being stored in a db, depending on message type. The route is transacted, and therefore it's not possible to configure redeliveryDelay in the ActiveMQXAConnectionFactory bean, but i had to use a custom processor "red

Re: Camel Websocket - Connection key not set

2015-07-02 Thread Claus Ibsen
I logged a ticket and fixed this https://issues.apache.org/jira/browse/CAMEL-8927 On Wed, May 6, 2015 at 5:15 PM, Claus Ibsen wrote: > Hi > > Yeah somewhere in that Camel component is a bug that causes the NPE. > > You are welcome to log a JIRA and if possible provide more details how > to reprod

Re: PHP and OSGi?

2015-07-02 Thread Hans Loven
(Specifically, I'd meant that you'd put this in the imports section of the apache Felix bundle plugin for maven). Did it work? New error? Pardon the brevity, Sent from my phone On Jun 30, 2015 4:19 PM, "Hans Loven" wrote: > Try importing org.apache.camel.* in your php bundle > > Pardon the brevi

RE: Wrong charset when using FTP2 component, locale issue?

2015-07-02 Thread Gustav Sinder
I realize I should probably provide the full picture here: The context consists of two routes where the first: - - And second: - - After a lot of troubleshooting it seems that it's the splitter/tokenizer that messes up the data. It looks corr

RE: Camel activemq consumer

2015-07-02 Thread Mills, Gary (GE Energy Management, consultant)
Thanks Stephan! -Original Message- From: Stephan Burkard [mailto:sburk...@gmail.com] Sent: Wednesday, July 01, 2015 5:03 PM To: users@camel.apache.org Subject: Re: Camel activemq consumer Hi Check out Polling Consumer: https://urldefense.proofpoint.com/v2/url?u=http-3A__camel.apache.or

Re: PHP and OSGi?

2015-07-02 Thread Daniel Lamb
Hans, Thanks for the response and sorry for the late reply. Yesterday was a holiday here in Canada. Unfortunately, adding org.apache.camel.* to the Import-Package section for the bundle plugin didn’t have any effect. Same error. ~Danny On Jul 2, 2015, at 7:58 AM, Hans Loven wrote: > (Spec

Logging Camel route info ...

2015-07-02 Thread SteveR
I have a linux Java7 stand-alone application using Camel 2.14. In my Camel *rootLog.txt* file with DEBUG enabled, I see that Camel prints a nice succinct one-liner showing the details associated with a given route. Can anyone point me to the Camel core java code that generates these kind of trace

Re: PHP and OSGi?

2015-07-02 Thread Claus Ibsen
Hi Yeah there is only specialized camel-script-xxx features for those that works in OSGi like ruby, javascript. You cannot use php, or at least we have no osgi bundle of a library that works and that we test with. And is there any reason you cannot just use any of the other scripting language or

Re: Logging Camel route info ...

2015-07-02 Thread Claus Ibsen
Hi You can get the route information from camel context. There is a get routes definitions which can output the route model as xml. Or if you want that compressed tostring then its on the getRoutes intead. On Thu, Jul 2, 2015 at 3:41 PM, SteveR wrote: > I have a linux Java7 stand-alone applica

Re: PHP and OSGi?

2015-07-02 Thread Daniel Lamb
Thanks Claus, That’s sort of what I figured. I couldn’t find anything relevant to PHP on the web and was thinking that might be the case. I understand it’s not a very common use case and was more curious than anything else. We’re integrating a bunch of Symfony command line php scripts with a

using spock to test camel

2015-07-02 Thread Wilson MacGyver
Hi, Has anyone ever used spock to test camel before? I notice only junit and test-ng are supported. I didn't know if anyone has ever tried it. Thanks, Mac -- Omnem crede diem tibi diluxisse supremum.

RE: how to return a valid answer in a spring-ws consumer route (spring dsl)

2015-07-02 Thread Ronny Aerts
Hello camel community, I stripped my spring dsl route to just the relevant statements. My actual route had a "" after calling the javascript (which produces the output). It seems that the extra log statement "eats" the response. The route works as expected after removing the log statement. Even

use gradle to build apache camel application

2015-07-02 Thread Wilson MacGyver
I know camel has excellent support for maven. and even has a mvn plugin. has anyone ever used gradle with camel application development before? -- Omnem crede diem tibi diluxisse supremum.

Re: use gradle to build apache camel application

2015-07-02 Thread Rafael Ponte
Hi Wilson, I'm using Camel with Gradle managing all dependencies. What problem do you have? On Thu, Jul 2, 2015 at 2:41 PM Wilson MacGyver wrote: > I know camel has excellent support for maven. and even has a mvn plugin. > > has anyone ever used gradle with camel application development before

Re: use gradle to build apache camel application

2015-07-02 Thread Wilson MacGyver
not really problem per se. just wanted to know how smooth it's working. for example, in mvn you can run camel by using mvn camel:run how do you do that with gradle? On Thu, Jul 2, 2015 at 1:43 PM, Rafael Ponte wrote: > Hi Wilson, > > I'm using Camel with Gradle managing all dependencies. What

Re: use gradle to build apache camel application

2015-07-02 Thread Rafael Ponte
I don't. I'm just using gradle to handle all dependencies of my project, build and so on. :-T On Thu, Jul 2, 2015 at 2:52 PM Wilson MacGyver wrote: > not really problem per se. just wanted to know how smooth it's working. > > for example, in mvn you can run camel by using mvn camel:run > > how d

Re: use gradle to build apache camel application

2015-07-02 Thread Wilson MacGyver
so do you just use the application plugin to build it? are you using the shadow plugin to create a fatjar to deploy it? Thanks On Thu, Jul 2, 2015 at 1:55 PM, Rafael Ponte wrote: > I don't. I'm just using gradle to handle all dependencies of my project, > build and so on. :-T > > On Thu, Jul 2

Re: use gradle to build apache camel application

2015-07-02 Thread Rafael Ponte
I'm working on a web project (with Camel integrated to Spring), so it's deployed on Tomcat container. On Thu, Jul 2, 2015 at 3:08 PM Wilson MacGyver wrote: > so do you just use the application plugin to build it? > > are you using the shadow plugin to create a fatjar to deploy it? > > Thanks > >

cxfrs, jaxrs and camel-boot

2015-07-02 Thread edhansen42
I'm trying to get cxfrs and jaxrs to work in a camel-boot app. I'm using camel 2.15.2, cxf 3.1.0, and spring boot 1.2.5.RELEASE. Here's my spring boot router code: @SpringBootApplication public class SpringBootRouter extends FatJarRouter { @Bean(name="jaxRsServer") @DependsOn("cxf")

Using the alternativeBodyHeader

2015-07-02 Thread Nadtech
I'm new to camel ... Trying to send a multipart/alternative (text/plain and text/html) using Spring, Camel, and Velocity. In my route I have the following snippet:

Re: Wrong charset when using FTP2 component, locale issue?

2015-07-02 Thread SteveR
Hi Gustav: I'm sure you already know this, but *0xefbfbd* is the Unicode replacement character" � (U+FFFD) which a program may decide to insert for any character it couldn't decode correctly when trying to handle Unicode. So it look

Re: Logging Camel route info ...

2015-07-02 Thread SteveR
Thanks Claus, that worked great!!! Here's what I ended up with, the latter method lifted from */camel-core/src/main/java/org/apache/camel/management/mbean/ManagedCamelContext.java*. Thanks, Steve /** * Dump all Camel routes for the specified CamelContext as a string. * * @p

Questions re: auto-commit and camel-kafka

2015-07-02 Thread mkitchin
Hi there, These are questions re: the official camel-kafka integration. Since the issues touch on both camel and kafka I'm sending to both users lists in search of answers. - - - - I have a simple, inonly, point-to-point, synchronous camel route (a) consuming from kafka topic (consumer), (b) run

Re: use gradle to build apache camel application

2015-07-02 Thread Tim Dudgeon
The gradle tomcat plugin works fine for running a camel based project. https://github.com/bmuschko/gradle-tomcat-plugin I've been using gradle with camel for ages and am very happy with it. The only major thing that I miss sometimes is the camel maven archetype projects. But on the plus side I h

Re: using spock to test camel

2015-07-02 Thread Tim Dudgeon
Spock works fine with camel. After all camel is just java. The only downside I see is the limited refactoring capabilities the IDE can provide resulting from it using groovy. Tim On 02/07/2015 16:08, Wilson MacGyver wrote: Hi, Has anyone ever used spock to test camel before? I notice only j