Re: Not able to send out SOAP request through camel

2013-06-14 Thread Aki Yoshida
maybe you can describe your scenario in more detail. It's not clear what is configured. It sounds like you are just using cxf in camel instead of using the camel-cxf component, no? 2013/6/13 suyash.singh > Hi, > > I am facing an issue sending out a SOAP request through camel. > > Observations:

In came-quartz route after bundle update jobs are not triggred.

2013-06-14 Thread pradeep
In came-quartz route after bundle update jobs are not triggred. I created a small example for camel-quartz with persistence(Quatz mysql database). My blueprint.xml looks like In the above route I used property placeholder CamelQuartzJob for quartz uri and its value is configured from a c

Re: Update database using openJpa in camel route

2013-06-14 Thread abhi
When I am trying to post my route it is automatically disappears from post. I can see it when I 'Preview Message', but disappears when I click on 'Post Message' Here is my route again. ${in.header.employeeSummaryListCount}

Update database using openJpa in camel route

2013-06-14 Thread abhi
HI.I am persisting data into SQL Server using openJPA in camel route. My route is as follows ${in.header.employeeSummaryListCount} *Problem:* */ Open JPA always tries to do INSERT onto t

Re: SV: file zipping..

2013-06-14 Thread Ioan Eugen Stan
Hello, I wrote a custom processor for zipping (partly because I needed to archive more messages in one archive): It uses Guava 13 for some operations: public static class ZipProcessor implements Processor { @Override public void process(Exchange exchange) throws Exception {

GenericFile is not supported by this marshaller (activemq component with transferExchange=true)

2013-06-14 Thread Ioan Eugen Stan
Hello, I'm trying to route an exchange from a File to ActiveMQ but get en error because the JMS component can't marshal a GenericFile. I'm using Camel 2.11.0 on Karaf 2.3.1, openjdk-7, Debian 7. If I leave out "transferExchange=true" all works well, except I need to access the exchange properties

Re: camel netty deadlock

2013-06-14 Thread Claus Ibsen
Hi Fixed by this ticket https://issues.apache.org/jira/browse/CAMEL-6442 On Tue, Jun 11, 2013 at 4:50 PM, kiranreddykasa wrote: > Hi > > I m getting the following exception when trying to use more than two netty > endpoints in a single route. > > java.lang.IllegalStateException: await*() in I/O

Re: Camel website: typo in cxfrs endpoint adress?

2013-06-14 Thread Claus Ibsen
Hi Thanks for reporting. I am fixing the doc page now. On Mon, Jun 10, 2013 at 12:02 PM, Wim Verreydt wrote: > Hi everyone, > > Last week I was trying to create an example with the cxfrs Simple Binding > Style. On the webpage http://camel.apache.org/cxfrs.html the example code > mentions the t

Re: Problem with DefaultCamelContext EndpointRegistry

2013-06-14 Thread Claus Ibsen
Only singleton endpoints should be in the registry. Non singleton is prototype based and therefore a new instance is created when you call getEndpoint. On Wed, Jun 12, 2013 at 7:41 PM, Chris Wolf wrote: > Ok, have a partial answer - since my Endpoint is not a singleton, I see that > DefaultCam

Re: File Component: Default rename behaviour

2013-06-14 Thread Claus Ibsen
Hi I logged a ticket to add a new option so you can tell Camel to copy as rename https://issues.apache.org/jira/browse/CAMEL-6458 On Fri, Jun 7, 2013 at 9:42 PM, jamesilicious wrote: > Just to refine the question; we can't do anything about the renameTo > operation failing as 1) it's a Java impl

Re: Camel File Discard empty file

2013-06-14 Thread Claus Ibsen
Hi Read the docs please. http://camel.apache.org/file2 See the readLockMinLength option On Thu, May 30, 2013 at 10:10 AM, Jean Francois LE BESCONT wrote: > I have play with readLock but : > > *changed : (with "**?readLock=changed&readLockTimeout=2&delete=true") : > doesn't detect empty file

Re: jetty consumer: cannot set minThreads and maxThreads from uri.

2013-06-14 Thread Claus Ibsen
Hi You should set thread settings on the component level. On Mon, Jun 10, 2013 at 11:21 AM, kuro <962...@gmail.com> wrote: > I cannot set minThreads and maxThreads values when the endpoint is defined > for the following uri . > > JettyHttpComponent (minThreads = null) > > > > http://www.springf

Re: file zipping..

2013-06-14 Thread Claus Ibsen
Hi You need to add camel-zipfile to the classpath On Tue, Jun 11, 2013 at 6:24 AM, milan777 wrote: > Hello everyone, i am getting error like this in below code please help me to > resolve this error thanks in advance > > > > > package Zip; > > import org.apache.camel.CamelContext; > import o

Re: ConsumerTemplate issue

2013-06-14 Thread Claus Ibsen
Hi This is not a bug. ReceiveNoWait is for queing systems where messages is already available in a queue, eg SEDA / JMS etc. When you poll from a ftp/file then its polled on demand, and you need to give it some amble time to do this eg with the timeout option. On Thu, Jun 13, 2013 at 4:39 PM, t

Re: Regarding auto_delete_after

2013-06-14 Thread Claus Ibsen
Hi Sounds like an ActiveMQ question if you use that broker? http://activemq.apache.org/delete-inactive-destinations.html On Thu, Jun 13, 2013 at 10:07 AM, indrayani wrote: > Hi all, > I getting following exception : > > javax.jms.InvalidDestinationException: Cannot publish to a deleted > Desti

Re: Not able to send out SOAP request through camel

2013-06-14 Thread Claus Ibsen
Hi Please take a moment to provide better and more detail what you are doing. We cannot help you if you dont take the effort yourself to explain what you want, and what you can't get to work etc. And frankly people is more inclined to not answer / help if they see that the person don't bother to

Re: ConsumerTemplate issue

2013-06-14 Thread thorbcn
Thanks Claus for the response! It would be nice if camel offered a way to perform a single fetch over its components infraestructure. I have faced scenarios where file attachments are so big to embed into the main incoming message. The common solution is the use of references of these files as pat

Re: GenericFile is not supported by this marshaller (activemq component with transferExchange=true)

2013-06-14 Thread Ioan Eugen Stan
Fixed by converting the body to an InputStream using: . I expected the conversion to be done automatically.

Re: camel netty deadlock

2013-06-14 Thread kiranreddykasa
Hi Tested the 2.12-SNAPSHOT and it works. So closed this ticket too https://issues.apache.org/jira/browse/CAMEL-6449 - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/camel-netty-deadlock-tp57340

Keep the same id between 2 exchanges

2013-06-14 Thread manu
Hello, Is there is solution to keep the same id (like uuid) between different exchanges ? On my configuration I have a some multiple routeContext to make the following operation: - first, one sftp component for getting one file and put it on my local server (one route) - routing this file on a

Re: Camel-Cxf Payload Mode - DefaultSEI not found

2013-06-14 Thread lmanchanda75
Hi Aki, It works with your suggestion, though I don't fully understand how setting header here gets translated to HTTP header, and hence what all can I do like this? Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Cxf-Payload-Mode-DefaultSEI-not-found-tp57

Re: Keep the same id between 2 exchanges

2013-06-14 Thread cyrillesaxo
Why can you persist that in a bean. using hashmap -- View this message in context: http://camel.465427.n5.nabble.com/Keep-the-same-id-between-2-exchanges-tp5734220p5734225.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Keep the same id between 2 exchanges

2013-06-14 Thread Claus Ibsen
Hi You can implement your own uuid generator and then re-use id's if you want http://camel.apache.org/uuidgenerator.html Maybe your use-case its better to correlate by the file name or something? On Fri, Jun 14, 2013 at 2:16 PM, manu wrote: > Hello, > > Is there is solution to keep the same id

Re: Camel-Cxf Payload Mode - DefaultSEI not found

2013-06-14 Thread Willem jiang
Hi Lalit, camel-cxf will copy the message header (soapaction) to the http header automatically. camel-cxf just treats the header as part of HTTP protocol header. All you need to do is set the message header before sending the message to the camel-cxf producer. -- Willem Jiang Red Hat, Inc. F

Re: Camel Route "to uri" JNDI Lookup

2013-06-14 Thread Christian Müller
Can you spend more time in describing your problem. Best, Christian Sent from a mobile device Am 14.06.2013 01:05 schrieb "Laxminarayana" : > Can any one please respond to my post. This is very urgent. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Route-to-