Re: Twitter + Aggregation: Out of Memory errors

2014-11-06 Thread Willem Jiang
We just added the multiPartUpload option in camel-aws-s3 component, it can some memory consumption. Please check out the latest Camel 2.15-SNAPSHOT for verification. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (C

Re: Camel Aggregation match all correlationId

2014-11-06 Thread Andrew Block
Sri, There are several factors which take into account the completion of an aggregation (based on timeout, size, or a predicate). Take a look at the “About Completion” section in the Aggregator2 [1] documentation to determine which strategy best fits your use case. - Andy [1] - http://camel.a

Re: camel-metrics Component

2014-11-06 Thread Claus Ibsen
Try setting the route policy before adding the routes On Fri, Nov 7, 2014 at 1:35 AM, James L Greene wrote: > I have written a simple Java class to attempt to exercise the camel-metrics > component. In this example, I'm writing a standalone Java batch process, > which will read files from an i

Re: There is a problem with the dataFormat MESSAGE and an XSLT transformation?

2014-11-06 Thread contactreji
I would suggest you to remove the Soap Envelop from the XSLT. After doing that, a little more way to doing things clean would be to use messageFormat=PAYLOAD like It works flawless for me. -- View this message in context: http://camel.465427.n5.nabble.com/There-is-a-problem-with-the-dataF

camel-metrics Component

2014-11-06 Thread James L Greene
I have written a simple Java class to attempt to exercise the camel-metrics component. In this example, I'm writing a standalone Java batch process, which will read files from an input directory, and deposit the files in an output directory. I'm attempting to use the camel-metrics component to

Camel Aggregation match all correlationId

2014-11-06 Thread srikarn
does camel have any match all correlation id? I am aggregating messages based on a header field, but when I am done with all incoming messages, I would like to flush out all aggregates at a time. Regards, Sri -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggregation

Re: Strange issue with JDBC add Postgres

2014-11-06 Thread Tim Dudgeon
On 06/11/2014 18:57, Claus Ibsen wrote: So maybe its your maxRows=1000 that is the problem, so when you are trying to get rows > 1000 then it throws that exception. What is your use case? You want to select * from a table, but only the first 1000 rows? No, it happens without maxRows. I was just

Re: Strange issue with JDBC add Postgres

2014-11-06 Thread Claus Ibsen
So maybe its your maxRows=1000 that is the problem, so when you are trying to get rows > 1000 then it throws that exception. What is your use case? You want to select * from a table, but only the first 1000 rows? On Wed, Nov 5, 2014 at 10:05 PM, Tim Dudgeon wrote: > On 05/11/2014 19:07, Claus Ib

Re: Camel DynamicRouter requires state storage inside routing bean

2014-11-06 Thread Rich Peters
Thanks Claus I guess I was looking for a construct in the dynamic router that provided for a one time destination that didn't require saving state anywhere. The detection of the same body being sent seems brittle to me. Rich -- View this message in context: http://camel.465427.n5.nabble.com

Re: Camel DynamicRouter requires state storage inside routing bean

2014-11-06 Thread Claus Ibsen
You can keep state on the exchange itself on the properties On Thu, Nov 6, 2014 at 5:19 PM, Rich Peters wrote: > Previously posted to the JBOSS Fuse mailing list with no response > > Camel provides a nice capability in the dynamic router. However it inherits > a weakness from routingSlip in that

Re: Calling a camel route seems to commit an outside transaction

2014-11-06 Thread Preben.Asmussen
I have seen that before in the old ejb days. The trick is to tell the persistent provider not to do commit before query. I would guess that Hibernate has a option to turn commit before query off. Preben -- View this message in context: http://camel.465427.n5.nabble.com/Calling-a-camel-route-s

executing PL/SQL script

2014-11-06 Thread Lustig, Marc
We are trying to execute a PLSQL script and we failed accomplishing this using either sql or jdbc component. Which Camel component is appropriate to execute a custom logic (plain Java class that executes some stuff independently) ? Cheers M.

Camel DynamicRouter requires state storage inside routing bean

2014-11-06 Thread Rich Peters
Previously posted to the JBOSS Fuse mailing list with no response Camel provides a nice capability in the dynamic router. However it inherits a weakness from routingSlip in that state must be kept inside the object with the method call. Is there a nice way to have a one time routing slip without

Re: Ack by the end of WS chain (client WS - [WS - Camel - client WS] - WS) *image inside

2014-11-06 Thread chainbuck
Hi hekonsek, Thank you for the answer. I'm glad to hear I can make it work! - Second step now: I need to know how. - I did a little bit of research and here is a way (using *Transaction manager*) I think I could potentially

Using CSVRecords 'required' option without throwing exception in unmarshalling

2014-11-06 Thread Andreas Hagen
Hi! I'm new to Camel and this is my first post to this mailing list. I'm unmarshalling a CSV-file to a CSVRecord using the @CsvRecord. I would like some of the fields to be required and simply discard the entries that don't have the required fields. As it is now, the unmarshalling throws an except

Re: Quartz job data deletion in clustered quartz2

2014-11-06 Thread lakshmi.prashant
Hi, That does not help. If we have a shared scheduler instance (by exposing the StdSchedulerFactory as a OSGi service) used by the different camel quartz components / routes, we face the following issue: After 1 camel quartz route is un-deployed & removed, the scheduler instance starts m

Re: Problem configuring route

2014-11-06 Thread Aki Yoshida
I think the values you are setting for the serviceName and endpointName properties are wrong. These are QNames formated in form "{nsuri}lcname", where nsuri is the namespace uri and lcname the local name. So if the namespace-uri is "http://axisversion.sample"; and the local name is "Version", the

Re: Calling a camel route seems to commit an outside transaction

2014-11-06 Thread Christian Schneider
Seems our analysis was wrong. Camel is not involved in the problem after all. It seems to be a problem with hibnernate doing a commit before a criteria based lookup. Christian On 05.11.2014 16:23, Christian Schneider wrote: I have an application running in OSGi that uses aries blueprint and

Re: Support for CXF dispatch api in the latest release of camel

2014-11-06 Thread Aki Yoshida
Are you talking about the jaxws dispatch API? In that case, basically you can configure your camel-cxf endpoint just like you configured your cxf jaxws endpoint. If this does not answer your question, you can give a more concrete description about what you want to do. regards, aki 2014-11-06 4:00

Re: Configuring hibernate with blueprint in karaf

2014-11-06 Thread Henryk Konsek
Hi, > We are trying to deploy a hibernate based jpa application in karaf. But we > are facing issue for no suitable provider class. Here [1] is the complete working example of Hibernate 4.2 with Blueprint and Aries transaction management. Backed by Pax Exam tests, so you can verify it works indee

Re: Configuring hibernate with blueprint in karaf

2014-11-06 Thread Artur Chyży
Hibernate 4.0.1 is not Osgified (No Osgi manifest entries in MANIFEST.MF). Future versions like 4.3.5 are osgified. Just use higher version for osgi, check if someone did not osgify it already (like servicemix team which osgifies some libraries), or use 'wrap:mvn:org.hibernate/hibernate-entityman

Re: Camel-boot autowiring issue

2014-11-06 Thread vasilievip
Thanks! Will try latest changes and let you know the results. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543p5758592.html Sent from the Camel - Users mailing list archive at Nabble.com.

Configuring hibernate with blueprint in karaf

2014-11-06 Thread Aryan
Hi, We are trying to deploy a hibernate based jpa application in karaf. But we are facing issue for no suitable provider class. We tried with following 2 providers but got same issue for both. Persistence-provider: org.hibernate.osgi.HibernateBundleActivator 2014-11-06 14:18:46,814 | WARN | Loca

Re: Camel-boot autowiring issue

2014-11-06 Thread Henryk Konsek
Hi, > OK, I can see possible improvement for camel-spring-boot, as well as > small misconfiguration in your project. I'll send more details later > today. Stay tuned :) I tuned the camel-spring-boot code to postpone the moment of injecting routes until all beans are initialized. This will help to

Re: Problem configuring route

2014-11-06 Thread artur.chyzy
>From the source code it seems that you're prividing service name, port name or binding which does not exists in WSDL. javax.wsdl.Service wsdlService = definition.getService(serviceName); if (wsdlService == null) { if ((!PartialWSDLProcessor.isServiceExisted(definition

Problem configuring route

2014-11-06 Thread Royamit
Hi all, I am trying to create a proxy service which invokes axis2 version web service. But while trying so, i am encountering error which is related to namespace issue. My camel proxy configure method is : @Override public void configure() throws Exception { String cxfEn

Re: direct-vm mocking bug

2014-11-06 Thread Geert Vanheusden
Thanks Claus! Didn't know I had to add the option to the "isMockEndpointsAndSkip" method as well... Kind regards, Geert On Thu, Nov 6, 2014 at 9:16 AM, Claus Ibsen wrote: > Your regexp pattern does not match direct-vm:out2 as you have a > parameter, so adjust the regular exp to match using

Re: direct-vm mocking bug

2014-11-06 Thread Claus Ibsen
Your regexp pattern does not match direct-vm:out2 as you have a parameter, so adjust the regular exp to match using wildcards etc. On Thu, Nov 6, 2014 at 9:10 AM, Geert Vanheusden wrote: > Any thoughts on this issue or should I just create a ticket for it? > > Kind regards, > > Geert > > On Tue,

Re: direct-vm mocking bug

2014-11-06 Thread Geert Vanheusden
Any thoughts on this issue or should I just create a ticket for it? Kind regards, Geert On Tue, Nov 4, 2014 at 11:13 AM, Geert Vanheusden wrote: > Hi Guys, > > I wanted to mock a "direct-vm" endpoint with the "block=true" option > but it fails. > > Here you can find a unit test to reproduce th