Re: An issue with NotifyBuilder on nested routes

2016-02-15 Thread Claus Ibsen
from is the first route the message was received into Camel. So in your use-case it would always be "direct:a" as that is where you send the message into Camel. On Tue, Feb 16, 2016 at 8:08 AM, SHTherkildsen wrote: > I seem to be having an issue with using NotifyBuilder on a nested route, when

Re: Camel-xmlsecurity :No XML schema found

2016-02-15 Thread Franz Paul Forsthofer
Hi Jack, the XML Signature component does not support the KeyInfo content you need. But what you could do is that you create the KeyInfo element on your own before you call the XML Signature component. Then I think it is better to use enveloped Signature than the detached Signature mode. You have

An issue with NotifyBuilder on nested routes

2016-02-15 Thread SHTherkildsen
I seem to be having an issue with using NotifyBuilder on a nested route, when using "direct:..." consumer. fromRoute(...).whenDone(..) and from(...).whenDone(...) do not seem to Work in my case. I am running camel 2.16.2 on a windows 8 box. The test below fails on the testFromRouteDirect and tes

Disruptor concurrentConsumers

2016-02-15 Thread prabhuj
I set the following route, this.from("netty4:tcp://localhost:7000?sync=true&synchronous=false&encoder=#myEncoder&decoder=#myDecoder").to("disruptor:myDisruptor"); this.from("disruptor:myDisruptor?concurrentConsumers=20").to("bean:myHandler"); My transactions are processed sequentially even after

Re: How to create a camel spring webservice ?

2016-02-15 Thread hoboy
Tks I use Fuse jboss-fuse-6.2.0.redhat-133 -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-camel-spring-webservice-tp5777688p570.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to create a camel spring webservice ?

2016-02-15 Thread hoboy
Tak very much SHTherkildsen. Bellow is my example of the code I have deployed on ServiceWork. That mean I can not create JAX-RS webservice like bellow ? @ApplicationPath("tests") public class ApplicationActivator extends Application { } @Path("/test") public class Resource { @GET @

Re: CamelBlueprintTestSupport version

2016-02-15 Thread Grzegorz Grzybek
Hello See http://ggrzybek.blogspot.com/2015/12/camel-blueprint-test-support.html for the details on: - what was the original problem - how it was fixed in newer versions (and in which versions) - how the solution evolved over time and what were the timing issues you've hit You're right, it *wa

Re: CamelBlueprintTestSupport version

2016-02-15 Thread Ranx
For whatever it's worth for whomever might run into a similar problem, I think I've identified at least one trigger. My blueprint-properties.xml is defined with: By creating a test-blueprint-properties.xml with the same information in it but no reload strategy the intermittent hang seems to ha

Re: Query relating to the Rest Component

2016-02-15 Thread gilboy
Thanks for the response Matt My camel based application is going to be deployed in to an existing apache tomcat container. Hence, I am thinking it probably makes more sense just to use the camel-servlet component and leverage its rest dsl support. However, would there be any any advantage of usin

Re: How to create a camel spring webservice ?

2016-02-15 Thread SHTherkildsen
Hi. I don't have experience with Fuse Service Works (if that is what your using). So i can't say what you can do there. You can use both classes and interfaces as service class for your CXFRS endpoint. It does not matter. Also you can define your route in spring XML or Java DSL. Both should Work

Re: How to create a camel spring webservice ?

2016-02-15 Thread SHTherkildsen
I have a simple example from my own code here: Endpoint interface: --- package com.mycompany.monitoring @Path("/") public interface IsAliveServiceEndpoint { @GET @Path("isAlive") @Produces("text/json") Response isAlive(); } --- A routebuilder: --- public class IsAliveServiceRou

Re: Using NotifyBuilder

2016-02-15 Thread SHTherkildsen
Upgrading from 2.15.3 to 2.16.2 did the trick. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Using-NotifyBuilder-tp562p565.html Sent from the Camel - Users mailing list archive at Nabble.com.

CamelBlueprintTestSupport version

2016-02-15 Thread Ranx
I believe Quinn mentioned that a new snapshot version of CBTS is out that fixes a race problem. I'm getting errors in 2.15 that definitely have the smell of a threading problem. Most of the time my tests run fine but then, every once in awhile, it will just hang when I go to call getOSGiService.

Re: Using NotifyBuilder

2016-02-15 Thread Claus Ibsen
Hi Try upgrading Camel if you are not using a new version. See some pointers here http://camel.apache.org/support.html On Mon, Feb 15, 2016 at 7:38 PM, Søren Heintzelmann Therkildsen wrote: > Hi. > > I am trying to use NotifyBuilder, but I just don't understand it. I have a > simple example be

Using NotifyBuilder

2016-02-15 Thread Søren Heintzelmann Therkildsen
Hi. I am trying to use NotifyBuilder, but I just don't understand it. I have a simple example below that is failing (matches() times out). Can anyone tell me what I am doing wrong. It must be something simple. :) import org.apache.camel.Exchange; import org.apache.camel.builder.NotifyBuilder;

Re: How to create a camel spring webservice ?

2016-02-15 Thread hoboy
Am I asking unclear question ? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-camel-spring-webservice-tp5777688p557.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMX Management

2016-02-15 Thread ursouca
Dear Claus, I think you spotted exactly the issue. Therefore I will wait for the new release 8-). Thanks a lot, Cataldo. -- View this message in context: http://camel.465427.n5.nabble.com/JMX-Management-tp550p555.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMX Management

2016-02-15 Thread Claus Ibsen
But how do you stop the Camel route? Do you just undeploy the application in weblogic, or do you call some Camel API to stop a routue, and remove it or what do you do? On Mon, Feb 15, 2016 at 4:51 PM, ursouca wrote: > Hi Claus, > > Sorry I forgot to mention it! > This is the 2.16.2 and i am dep

Re: JMX Management

2016-02-15 Thread ursouca
Hi Claus, Sorry I forgot to mention it! This is the 2.16.2 and i am deploying in Weblogic 12.1.1. Br, Cataldo. -- View this message in context: http://camel.465427.n5.nabble.com/JMX-Management-tp550p552.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMX Management

2016-02-15 Thread Claus Ibsen
What version of Camel do you use? And what do you mean by "not more used", eg do you remove a route or what do you do? And btw I spotted an issue with camel-jpa and logged that ought to help https://issues.apache.org/jira/browse/CAMEL-9604 On Mon, Feb 15, 2016 at 3:49 PM, ursouca wrote: > Dears

JMX Management

2016-02-15 Thread ursouca
Dears, I activated the JMXAgent for monitoring purpose. But I have a problem because I am using a JPA endpoint as 'TO' (defined as XML route), and when the route is activated, it creates a new instance of JPAProducer and it is visible via JMX but when is not more used is stays register as mbean an

Re: FTP producer - prevent from listing the destination folder

2016-02-15 Thread Claus Ibsen
See the stepwise option and also the useList as well. http://camel.apache.org/ftp2 On Mon, Feb 15, 2016 at 2:48 PM, Laurentiu Trica wrote: > Hello, > > Can you help me? Anyone? > > Thanks! > Laurentiu > > On Fri, Jan 22, 2016 at 3:38 PM, Laurentiu Trica < > laurentiu.tr...@moredevs.ro> wrote: > >

Re: FTP producer - prevent from listing the destination folder

2016-02-15 Thread Laurentiu Trica
Hello, Can you help me? Anyone? Thanks! Laurentiu On Fri, Jan 22, 2016 at 3:38 PM, Laurentiu Trica < laurentiu.tr...@moredevs.ro> wrote: > Hello, > > I'm using Camel 2.13 and I have an issue when producing files on a FTP > folder with a lot of files. It seems to try to list the content of the >

Re: How to create a camel spring webservice ?

2016-02-15 Thread hoboy
Please somebody help. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-camel-spring-webservice-tp5777688p546.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: blueprint/nettyencoderfactory

2016-02-15 Thread Walzer, Thomas
Quinn, thanks for looking into this: However, the encoding parameter only works with the textline codec. The docs say (and I say it too, because I tested it): >>>The encoding (a charset name) to use for the textline codec. If not >>>provided, Camel will use the JVM default Charset.<<< I worked

Re: SJMS transaction

2016-02-15 Thread d1x
Yes, you are right. As far as I know, you are able to do JMS transactions based on single JMS session (with only once delivery). So the problem is that I cannot find the way how to configure SJMS to do the JMS transaction (use same JMS session) for IN-OUT scenario described. And I must admit it is

Salesforce Component Reliable Streaming API

2016-02-15 Thread kag
Hello, Are there any plans on supporting the Reliable Messaging capabilities on the the Spring 16 release? Quote: /*Replay Generic Streaming Events (Generally Available)* You no longer have to worry about missed generic streaming events when subscribers are disconnected. You can now retrieve and

Camel Salesforce Component

2016-02-15 Thread kag
Hi All, I unsure wheter this is a bug or not, and where to post it if it is. We are using the Salesforce Component, to integrate to our Salesforce instance. We are running behind a httpproxy, and it works fine where using the Rest API. When we try to use the Streaming API we ran into an issue. T

Re: camel-salesforce-maven-plugin picklist to enum generation

2016-02-15 Thread kag
Any news on this? Spwaned by this issue, we were having some discussions around the best way to handle picklists. The default behaviour in salesforce is to allow any String to be added to a PickList field (as far as I know), regardless of whether the String is in the picklist or not. This means