Re: 2.14.0 build fails on camel-web (javadocs)

2014-09-24 Thread Willem Jiang
You can fix it by changing the line 372 of the pom.xml in camel-web -                      ${project.build.outputDirectory}/resourcedoc.xml +                       ${project.build.outputDirectory}${file.separator}resourcedoc.xml -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: htt

Re: Programmatic CXF Endpoint

2014-09-24 Thread Willem Jiang
The wildcard conduit setting should work. You can find an example here[1][2]. BTW, I fill a JIRA[3] for setting the conduit in a programmatic way. [1]https://github.com/apache/camel/blob/master/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfTimeoutTest.java [2]https://github

JMS - asyncConsumer &

2014-09-24 Thread Andrew Thorburn
Hey guys, Just want to clarify that I understand how this works correctly: Setting the "asyncConsumer" option to "true" on a JMS Consumer does not, in and of itself, mean that messages are guaranteed to be processed asynchronously, but it does mean that if an endpoint supports asynchronous behavi

Re: Camel Testing -JTA java.sql.SQLSyntaxErrorException: ORA-02049: timeout: distributed transaction waiting for lock

2014-09-24 Thread mattmadhavan
Hello, I found this section *Integration Testing with Spring* in the following link, http://camel.apache.org/book-pattern-appendix.html and I followed this example from the above link. https://github.com/rajivj2/example2/blob/master/src/test/

[CAMEL-REDIS] About MULTI-EXEC

2014-09-24 Thread andrericos
Hi, I'm trying to use camel-spring-redis, but I couldn't use MULTI/EXEC commands properly. I always got this exception: is there any example of using MULTI/EXEC commands? I guess it could be a miss-configuration. I'm using this RedisTemplate configuration: best regards, Thanks. -- View

Can't grok event driven consumer

2014-09-24 Thread Tim Dudgeon
I'm wanting to create a Component that acts as a simple from: endpoint, just like, for instance, direct: does. I want to be able to send an Exchange to it, handle it in some way, and send the outcomes (plural) to the downstream processor. Most of it makes sense, but I just can't work out how to r

Re: Camel-Restlet 2.14.0 Content-type instead of Content-Type

2014-09-24 Thread Claus Ibsen
http headers is case insensitive, so any kind of case is valid. On Wed, Sep 24, 2014 at 9:14 PM, sandp wrote: > With *camel-restlet 2.13.*1, my code used to look into* > org.restlet.http.headers* to identify the Content-Type, I upgraded to* > camel-restlet 2.14.0*, and my code is failing, as it w

Camel-Restlet 2.14.0 Content-type instead of Content-Type

2014-09-24 Thread sandp
With *camel-restlet 2.13.*1, my code used to look into* org.restlet.http.headers* to identify the Content-Type, I upgraded to* camel-restlet 2.14.0*, and my code is failing, as it wasn't able to find the Content-Type in the org.restlet.http.headers On comparing the headers in both versions, I see t

Camel Testing -JTA java.sql.SQLSyntaxErrorException: ORA-02049: timeout: distributed transaction waiting for lock

2014-09-24 Thread mattmadhavan
Hello, I am writing some Unit tests to test my routes which are configured to use JTA and the routes work great! But I want to clean the target table before I start my tests, But I am getting the following Exception My Test file looks like this! Been stuck on this for a while. Any ideas plea

Re: Why does Bindy prohibit empty files?

2014-09-24 Thread Claus Ibsen
Hi A better pattern is the filter eip Not sure its a good idea to allow empty, as it maps to pojo and if its empty then there is nothing to map to, and thus would be null. A better solution is again the filter eip or cbr to deal with when the file is empty. On Wed, Sep 24, 2014 at 7:18 PM, Charl

Re: Why does Bindy prohibit empty files?

2014-09-24 Thread Charles Moulliard
Hi, We could certainly improve Bindy and implements what you suggest. Could you please raise a ticket concerning your request ? Until now, I suggest that you add a onException() to handle the exception throws by Bindy when the data stream is empty Regards, On Wed, Sep 24, 2014 at 5:36 PM, wro

Re: Performance puzzle. Slow splitter on object array?

2014-09-24 Thread srinivas_vsk
Have you been able to resolve the slowness, im noticing similar issue splitting a List, Hawtio shows couple of seconds to split Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Performance-puzzle-Slow-splitter-on-object-array-tp5729867p5756978.html Sent from the Camel

Re: cxf-rs proxy

2014-09-24 Thread Sergey Beryozkin
Hi On 23/09/14 21:08, Lambert, Michael wrote: I am trying to proxy calls from the camel/integration layer of my architecture to my services layer. The services themselves are implemented using Spring REST. I would like to use camel to intercept requests to our services, run XACML rules against

Why does Bindy prohibit empty files?

2014-09-24 Thread a_blithe
Prolog: Camel Bindy will throw an IllegalArgumentException if the current InputStream doesn't contain any data (see https://fisheye6.atlassian.com/browse/camel-git/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/BindyCsvDataFormat.java?hb=true at line 174 and 200). I

Re: Netty & threads

2014-09-24 Thread Walzer, Thomas
Sorry, I missed a bit in the docs: Does anyone know how to convert this to blueprint? Am 24.09.2014 um 16:51 schrieb Walzer, Thomas : > Hi there, > > I have 7 netty producers running on a 32 core system. > This results in approximately 7x32x2=448 threads which leads to frequent >

Netty & threads

2014-09-24 Thread Walzer, Thomas
Hi there, I have 7 netty producers running on a 32 core system. This results in approximately 7x32x2=448 threads which leads to frequent out-of-memory/unable to create new native thread errors on my 32 bit jvm. The producers are very low volume both in terms of message size and number of messag

Re: Unable to access camel MBean Server from JBoss

2014-09-24 Thread deepak_a
Hi, createConnector="true" is already set. My question is - is it possible to start MBean server and expose JMX through Java JSR 160 (remote jmx) instead of RMI. regards -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-access-camel-MBean-Server-from-JBoss-tp57569

Re: Unable to access camel MBean Server from JBoss

2014-09-24 Thread Claus Ibsen
Hi You can set createConnector=true, see http://camel.apache.org/camel-jmx.html On Wed, Sep 24, 2014 at 12:24 PM, deepak_a wrote: > All, > > Just realized the following > > JMXConnector: > service:jmx:rmi:///jndi/rmi://LDN-LRM-PC-189:1/jmxrmi/camel > > I see the above from Camel log. > Thats

The most proper way to isolate statefull beans during concurrent exchanges

2014-09-24 Thread nimruhil
Let's say there is a route from which a statefull bean is invoked: Messages could be sent along this route concurrently, i.e. requestBody method of ProducerTemplate is called from concurrent threads. So a problem would arise if two excahnges were going and setSomeState was call

Re: Unable to access camel MBean Server from JBoss

2014-09-24 Thread deepak_a
All, Just realized the following JMXConnector: service:jmx:rmi:///jndi/rmi://LDN-LRM-PC-189:1/jmxrmi/camel I see the above from Camel log. Thats the service exposed by Camel's MBEan Server. It appears camel exposes only jmx via RMI, while JBoss (EAP 6.1+) supports JSR 160 (JMX Remoting). i.

Re: Corrupt pdf from classpath

2014-09-24 Thread Claus Ibsen
Hi Yeah that was the case, I have logged a ticket to support this in the future https://issues.apache.org/jira/browse/CAMEL-7859 On Wed, Sep 24, 2014 at 10:27 AM, Claus Ibsen wrote: > Hi > > I think the language component reads the resource as text based. Not > sure if there is some explicit Str

Unable to access camel MBean Server from JBoss

2014-09-24 Thread deepak_a
All, I run (camel) in a separate JVM. Camel @ runtime creates and registers MBean management objects with a MBeanServerinstance in the VM. Another application deployed in JBoss access this MBean Server. i.e. a Singleton Bean deployed in Jboss (EAP 6.3.0 / 6.1.0 Alpha) will try to access this MBe

Re: Corrupt pdf from classpath

2014-09-24 Thread Claus Ibsen
Hi I think the language component reads the resource as text based. Not sure if there is some explicit String.class conversion in there. Would need to check the code. On Wed, Sep 24, 2014 at 4:03 AM, Rebecca Kreuter wrote: > I am trying to return a pdf as a response to a GET request. > For the

Re: Overrule default http4 component

2014-09-24 Thread Geert Vanheusden
Thanks Willem. Then I can leave my configuration as it is. Geert GEERT VANHEUSDEN SENIOR DEVELOPER Jaarbeurslaan 19 box 11, 3600 Genk, Belgium T +32 (0)89 32 34 80 F +32 (0)89 36 37 95 www.aviobook.aero Product of the AvioVision Company The information contained in this message may be privileg

Re: JacksonDataFormat disable JAXB annotations

2014-09-24 Thread namador
Hi Charles, Thank you for your response. I've created ticket: https://issues.apache.org/jira/browse/CAMEL-7858 Regards, Nicolás Amador -- View this message in context: http://camel.465427.n5.nabble.com/JacksonDataFormat-disable-JAXB-annotations-tp5756891p5756935.html Sent from the Camel -

Re: Camel-XmlJson dataformat and ASLV2

2014-09-24 Thread Charlie Mordant
So, I misunderstood that page on the Apache2 license: http://www.apache.org/legal/resolved.html Can it be updated to reflect that we can use some third party licensed code as dependencies (only) in our ASLV2 projects without breaking the rules? Should I fill a Jira in the Legal commity space? Bes