Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread sekaijin
Hello, I tried the opposite: uninstall Apache ServiceMix :: Specs :: Java Persistence API 1.4 (1.8.0) insatall Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) and It works Now I have to find out which feature install Apache ServiceMix :: Specs :: Java Persistence API A + JYT -- View this

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread Christian Schneider
Sounds good. You can do cat on the mvn: urls of the repos and grep for the bundle uri. Christian On 11/20/2012 10:02 AM, sekaijin wrote: Hello, I tried the opposite: uninstall Apache ServiceMix :: Specs :: Java Persistence API 1.4 (1.8.0) insatall Apache Geronimo JSR-317 JPA 2.0 Spec API

CamelContext behaviour - does a parallel/multiple sendBody() creates new instances of routes and endpoints?

2012-11-20 Thread Tai Truong
Hi I'm a newbie to Apache Camel and currently evaluating it - though I know Spring Integration and EIP pretty well. Looking briefly at this example: http://camel.apache.org/walk-through-an-example.html I wonder what happens when I call the sendBody() in several threads? This is of course a

[camel-bindy] Handle implied decimal field

2012-11-20 Thread lb
Hy all, is tenere any way to handle numbers represented with implied decimals? I mean, the communication with some legacy systems often relies on old protocols and formats not easy to change and among that you may have to deal with fixed lenght records on which decimal numbers are not

Re: doCatch returns null

2012-11-20 Thread maxence.dewil
Hi again, I solved the problem by changing my route to this: from(cxf:/myWebService?serviceClass=com.x.MyWebService).routeId(MyRoute) *.recipientList(simple(direct:${header.operationName}));* *from(direct:myOperation)* .doTry() .process(new Processor() { @Override public

Re: Camel component asynchronous behavior

2012-11-20 Thread Claus Ibsen
You custom com.foo.example.asynchronous.SimpleSynchronousProcessor need to support async as well. This breaks the async routing, if it does not implement AsyncProcessor api. Try removing it as it does not seem to do much for your use-case. On Tue, Nov 20, 2012 at 11:57 AM, giZmo79-2

Re: [camel-bindy] Handle implied decimal field

2012-11-20 Thread Claus Ibsen
On Tue, Nov 20, 2012 at 12:54 PM, lb lburgazz...@gmail.com wrote: Hy all, is tenere any way to handle numbers represented with implied decimals? I mean, the communication with some legacy systems often relies on old protocols and formats not easy to change and among that you may have to deal

Re: Dynamic route ids with Spring DSL

2012-11-20 Thread Claus Ibsen
On Mon, Nov 19, 2012 at 9:48 PM, Henrique Viecili henri...@myreks.com wrote: Is it possible to set the route id attribute with a dynamic value? (in Spring DSL) Example: camel:route id=my-route-{{suffix}}/ and 'suffix' comes from a property file. Have you tried Camel's property

CXF proxy for ws security

2012-11-20 Thread Jesper Nygårds
I have a scenario where I want to add wss signing to an outgoing web service call. I am trying to accomplish this by using a cxf consumer and a cxf producer wired together by camel as a simple proxy. The idea is this: a system sends an un-signed SOAP request to our CXF web service requiring no

Re: [camel-bindy] Handle implied decimal field

2012-11-20 Thread lb
thx - could you point me to some relevant code for learning purpose? -- View this message in context: http://camel.465427.n5.nabble.com/camel-bindy-Handle-implied-decimal-field-tp5723003p5723019.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Follow on to configuring persistence with java not spring xml

2012-11-20 Thread Claus Ibsen
On Tue, Nov 20, 2012 at 4:27 AM, Jay Walters jaymwalt...@verizon.net wrote: My reading of the spring xml makes me think java such as shown below will configure the EntityManagerFactory JpaVendorAdapter jpaAdapter = new HibernateJpaVendorAdapter(); BasicDataSource dataSource = new

camel exception handler

2012-11-20 Thread ckesired
Hi, I am getting component level exception , I wanted to capture that in the route, but the exception occurs at the component level so i created custom exception handler : import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.ProducerTemplate; import

Re: Follow on to configuring persistence with java not spring xml

2012-11-20 Thread James Carman
Yes, that's essential: https://github.com/jwcarman/camel-transaction/blob/master/src/test/java/com/carmanconsulting/camel/AbstractRouteBuilderTest.java On Tue, Nov 20, 2012 at 1:43 PM, Babak Vahdat babak.vah...@swissonline.ch wrote: Hi You get null as Spring does one step more than you,

Re: Dynamic route ids with Spring DSL

2012-11-20 Thread Henrique Viecili
I tried in many different ways to set a dynamic route id (see below), but apparently the id receives the raw string as I checked with jconsole. The log endpoint ids received the property value as expected (some.namespace=NAMESPACE). I also tried to use a property for the camelContext id, which

Re: Re: Follow on to configuring persistence with java not spring xml

2012-11-20 Thread Jay Walters
That did the trick. Thanks. On 11/20/12, Babak Vahdat wrote: Hi You get null as Spring does one step more than you, that's: emFactory.afterPropertiesSet(); Because LocalContainerEntityManagerFactoryBean implements InitializingBean Look at the last line in that method where this

Re: [camel-bindy] Handle implied decimal field

2012-11-20 Thread Christian Müller
I think the source code of camel-bindy and its unit tests [1] is a good starting point. And you should be also familiar with how to build Camel [2] and how to contribute [3]. [1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-bindy/ [2] http://camel.apache.org/building.html [3]

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-20 Thread Christian Müller
Hello! Camel use the Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) bundle in its camel-jpa component [1] too. [1] https://svn.apache.org/repos/asf/camel/trunk/platforms/karaf/features/src/main/resources/features.xml Best, Christian On Tue, Nov 20, 2012 at 10:02 AM, sekaijin

aws-sqs returns exception 'The request must contain the parameter Attribute.Name'

2012-11-20 Thread rbogdanoff
Hi, Am trying to use camel aws-sqs endpoint to send a message. I can do this no problem with Java AWS API directly, but with camel I am having trouble. Here is my code... package com.equilar.camelexamples; import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder;

Re: Camel Monitoring Tool

2012-11-20 Thread tosheer
Hi All, I have different set of requirement for monitoring, as we have route will will always be running and has a timer/Quartz based trigger which goes off after few seconds. Can you also please guide us how we can monitore this timer/Quartz based activity. Also we are facing issue in which