JDBC component and jboss ds.xml file

2014-04-11 Thread moj0002
I have my data source defined in a jboss ds file (myDB2Database-ds.xml) that goes either in the jboss deploy directory or ds directory myDataSource jdbc:db2://; com.ibm.db2.jcc.DB2Driver ... more properties here In my spring application context I define my route

RE: Send response to file request?

2014-04-11 Thread Ravindra.Godbole
Look at the following URL which has various options for request-reply over jms . http://camel.apache.org/jms.html From: scottmiles [motgu...@gmail.com] Sent: Friday, April 11, 2014 11:23 PM To: users@camel.apache.org Subject: Send response to file request

Re: Is Camel affected by the OpenSSL heart bleed bug?

2014-04-11 Thread bocamel
Thank you very much for the quick response! -- View this message in context: http://camel.465427.n5.nabble.com/Is-Camel-affected-by-the-OpenSSL-heart-bleed-bug-tp5750006p5750131.html Sent from the Camel - Users mailing list archive at Nabble.com.

Send response to file request?

2014-04-11 Thread scottmiles
One of my client put the file request under directory placeorder with below configuration in CAMEL Once processing is done from incomingOrders, i want to send the some response to customer who initiated file request. How can i achieve it with CAMEL (probably using request reply or return a

Re: Camel with ActiveMQ

2014-04-11 Thread Jeremy Gooch
We run it inside the container. As per http://activemq.apache.org/osgi-integration.html the installation is really easy. karaf@root()> feature:repo-add mvn:org.apache.activemq/activemq-karaf/5.9.0/xml/features karaf@root()> feature:install activemq-broker You can see the broker and browse the q

Re: camel bindy - @FixedLengthRecord: crlf attribute causes null pointer

2014-04-11 Thread Claus Ibsen
Hi You may still need to use camel-jboss to have the package scanning work in the EAP container. https://camel.apache.org/camel-jboss.html Ideally in the future we migrate camel-bindy so it does no longer do package scanning so you would need to configure the .class up front. But then it works fo

Re: Logging hostname in jboss-fuse

2014-04-11 Thread Claus Ibsen
Hi What hostname do you mean? Do you mean something like the name of the karaf container or what? That logging configuration file uses log4j under the hood, so whatever you can configure in log4j you can configure there On Fri, Apr 11, 2014 at 2:02 PM, Satyam Maloo wrote: > Hi, > > I want to l

camel bindy - @FixedLengthRecord: crlf attribute causes null pointer

2014-04-11 Thread alfmateos
I use camel 2.11.0 with JBoss 6.1 EAP, and I use this route: from("direct:bindySegTraMarshalling").marshal().bindy(BindyType.Fixed, SegmentoTra.class); The SegmentoTra.class is annotated like this: @FixedLengthRecord(length = 70, paddingChar = ' ', crlf="WINDOWS") public class

Logging hostname in jboss-fuse

2014-04-11 Thread Satyam Maloo
Hi, I want to log the hostname in jboss-fuse logs. What is the changes I have to do to org.ops4j.pax.logging.cfg file to be able to log it. - Satyam -- View this message in context: http://camel.465427.n5.nabble.com/Logging-hostname-in-jboss-fuse-tp5750122.html Sent from the Camel - Users

Re: Processing Acknowledgments with CAMEL?

2014-04-11 Thread scottmiles
Folks any suggestions? -- View this message in context: http://camel.465427.n5.nabble.com/Processing-Acknowledgments-with-CAMEL-tp5750114p5750121.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: onException issues with cxfrs

2014-04-11 Thread Sergey Beryozkin
Hi, It is interesting that related issues often reported simultaneously :-) FYI, Willem has just helped to fix the issue where JAX-RS exception mappers have not been effective in the routes, see more comments below... On 11/04/14 09:47, bijoy wrote: I have following route configuration...

Re: Patch - camel-jetty

2014-04-11 Thread Claus Ibsen
Hi Sounds good. Do you mind create a JIRA ticket and attach your patch as a file to the JIRA ticket? Link to issue tracker here http://camel.apache.org/support On Fri, Apr 11, 2014 at 12:39 PM, kuro <962...@gmail.com> wrote: > Hi > > I solved the issue of > http://servicemix.396122.n5.nabble.com

Re: Java heap space with FILE producer and larges files

2014-04-11 Thread bbk
I implemented my own tracer formatter but I have the same problem: Tracer tracer = new Tracer(); tracer.setFormatter(new CustomMessageFormatter()); public class CustomMessageFormatter implements TraceFormatter { @Override public Object format(TraceInterceptor interceptor, ProcessorDe

RE: SFTP producer cannot delete the exesting donefilename

2014-04-11 Thread Ali, Mohammad
Hi Claus, Thanks Claus for your reply. I did few round of testing with Camel 2.13.0 and did not get this issue with done file name. I need to upgrade to Camel 2.13.0. Regards, Shadab -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, April 10, 2014 3:2

Re: Will web request be intercepted by CAMEL with this configuration?

2014-04-11 Thread scottmiles
i mean does camel convert all the request parameters and attributes whether it form parameter or file upload request parameter in to string first and then check "?XML" in each of the parameter/attribute? -- View this message in context: http://camel.465427.n5.nabble.com/Will-web-request-be-inte

Processing Acknowledgments with CAMEL?

2014-04-11 Thread scottmiles
I have clients sending request thru different ways like web request, http request , soap request or thru some other channel. In Camel i receive it from respective endpoints to jms queue. From queue processor picks up the message. Now processor needs to send the acknowledgemnt to clients based on t

Re: Will web request be intercepted by CAMEL with this configuration?

2014-04-11 Thread scottmiles
Thanks Claus. Any idea about below query Another point is incoming request can contain both type of paramters i.e form paramter and file upload request (in the form of multipart request) then how come below configuration checking "?xml" in file parameter not in form parameter?

Patch - camel-jetty

2014-04-11 Thread kuro
Hi I solved the issue of http://servicemix.396122.n5.nabble.com/HTTP-Date-headers-for-Jetty-endpoints-td5718803.html Example: jetty:http://0.0.0.0/?sendDateHeader=true diff --git a/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java b/src/main/java/org/apache/camel/component

Re: JTA Transactions Rollback of Routes using Directs?

2014-04-11 Thread Grzegorz Grzybek
Hello Your onException clauses are not complete without "end()" and actually you have no real exception handlers (tried this on Camel-2.13.0). regards Grzegorz Grzybek 2014-04-10 18:42 GMT+02:00 kraythe . : > Greetings, I have an interesting use case I was wondering if anyone had > ideas on. >

Re: Will web request be intercepted by CAMEL with this configuration?

2014-04-11 Thread Claus Ibsen
Hi On Thu, Apr 10, 2014 at 7:26 PM, scottmiles wrote: > I see below configuration at > http://java.dzone.com/articles/open-source-integration-apache > > > http://0.0.0.0:/placeorder"; /> > > > OK > > > > Does it mean that any we request with URL http://0.0.0.

Re: Streaming huge files in Camel

2014-04-11 Thread Claus Ibsen
On Fri, Apr 11, 2014 at 11:06 AM, davidrobert wrote: > Claus, would that work with millions of rows? > Or would you go with a batch solution? > Thanks > The camel JDBC/SQL components dont support streaming out of the box. So if you must use one ResultSet you would need to write logic to do this

Re: camel-dropbox

2014-04-11 Thread Henryk Konsek
Hi, > last commit added a features.xml --> camel-feature I've committed the Dropbox component to the master. We need to polish it a little bit (move feature from component src/resources directory to our common Camel feature, create Karaf integration tests and so forth). I'll perform the clean du

Re: Streaming huge files in Camel

2014-04-11 Thread davidrobert
Claus, would that work with millions of rows? Or would you go with a batch solution? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Streaming-huge-files-in-Camel-tp5750096p5750106.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Streaming huge files in Camel

2014-04-11 Thread akoufoudakis
Hello, Claus, David! It is my first post. So, don't be too judicious. It my be also very stupid... Did you try sql component? You could select from your database by timestamp, then to transform each specific row you selected to the needed format (marshal) and send it to JMS. I applied the curren

Re: Delete SQS message

2014-04-11 Thread Muhzin
Hi Is there no one using sqs adapter for camel ? On Wed, Apr 2, 2014 at 7:46 PM, Muhzin wrote: > Hi all, > I have a route that consumes from a sqs endpoint. How can I configure the > acknowledgement of message? Is there any way that I can delete the message > from sqs from my route? > > My rou

Re: Will web request be intercepted by CAMEL with this configuration?

2014-04-11 Thread scottmiles
Guys any comments? -- View this message in context: http://camel.465427.n5.nabble.com/Will-web-request-be-intercepted-by-CAMEL-with-this-configuration-tp5750063p5750100.html Sent from the Camel - Users mailing list archive at Nabble.com.

onException issues with cxfrs

2014-04-11 Thread bijoy
I have following route configuration... *camel-config.xml* java.lang.Exception true The problem here is - the exceptions being thrown by the processors are being c

Re: Streaming huge files in Camel

2014-04-11 Thread davidrobert
That would not work for us, but we did look into it. We need to select by a field with a timestamp, and sometimes there could be millions of rows with that timestamp. Is there anything out of the box which Camel can offer us Claus? -- View this message in context: http://camel.465427.n5.nabble.

Re: Streaming huge files in Camel

2014-04-11 Thread Claus Ibsen
Hi Maybe poll from the database with a limited set of data per poll. Also is 1 row in the database = 1 xml Then you can just poll one row at a time, not as efficient but it gets the job done. On Fri, Apr 11, 2014 at 9:58 AM, davidrobert wrote: > We have the following requirement: > 1. Poll fr

Streaming huge files in Camel

2014-04-11 Thread davidrobert
We have the following requirement: 1. Poll from a database 2. Marshall the result set into XML 3. Send the XML in a JMS message to a downstream system The issue is, some of the result sets could be huge - millions of rows. The transformer may be unable to handle this simply because of memory/heap

Re: Loading Camel Context from Spring XML

2014-04-11 Thread Claus Ibsen
Hi You have autoStartup="false"> So the routes is not started out of the box. On Wed, Apr 9, 2014 at 3:51 AM, Pavan Naganna wrote: > Hi , > > I have problems in copying the files from data/inbox to data/outbox using > Camel with Spring DSL . Below are my beans.xml and Java Programs. Also I am