Re: Need Help In Camel CXF

2010-05-31 Thread Carlo Camerino
it seems to be a problem with the server side retrurning nothing here's how the reply looks like but in my reply i'm actually setting the out message body Here is my interface declaration btw /** * @author User * */ @WebService(name="overrideServer", serviceName="overrideServer") public interf

Re: Unsupported data type exception with Jetty component

2010-05-31 Thread Willem Jiang
FYI, I already committed a patch for this issue, please try out the last camel 2.4-SNAPSHOT to verify it. Willem Willem Jiang wrote: Hi Bertrand, I can reproduce the issue, so it's a bug of camel-jetty component. I just create a JIRA[1] for it and will try to fix it today. [1] https://issue

Re: CamelSpringTestSupport and Hibernate Transactions

2010-05-31 Thread jejmaster
Okay, I got it now, In my route, I just need to declare it as transacted. jejmaster wrote: > > Hi > > I would like to inquire regarding Transactional Services support for > CamelSpringTestSupport. Apparently, I am experiencing Transaction problems > (cant call commit when auto-commit=true

Need Help In Camel CXF

2010-05-31 Thread Carlo Camerino
Hi, I seem to be getting this problem in which I'm getting a blank reply comin gfrom the cxf web service. i use cxf:bean and cxf://address component What can i be doing wrong? thanks carlo Client Configuration @Override public void configure() throws Exception { from("direct:carlo")

Re: Bindy CSV not Marshaling

2010-05-31 Thread Nick Heudecker
> How do you want to map booleans? I have never seen any CSV file with > "true" or "false" as values. > You most likely need to define a custom mapping scheme. Such as "Y" = > true, "N" = false etc. > And so you can use String type and add a isXXX boolean method yourself > in the bean. > > Having a

Re: CamelSpringTestSupport and Hibernate Transactions

2010-05-31 Thread Claus Ibsen
On Tue, Jun 1, 2010 at 7:51 AM, jejmaster wrote: > > Hi > > I would like to inquire regarding Transactional Services support for > CamelSpringTestSupport. Apparently, I am experiencing Transaction problems > (cant call commit when auto-commit=true) when running camel tests when my > spring service

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-31 Thread Claus Ibsen
On Sat, May 29, 2010 at 6:20 AM, Willem Jiang wrote: > The NPE is caused by we can't set the soTimeout before the FtpClient > connecting the server. > How about set the option of defaultTimeout ? > Here is great blog[1] which discuss about it. > > [1]http://sudhirvn.blogspot.com/2007/05/ftpclient-

Re: Clustering with camel-quartz

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 6:48 PM, Ingo Düppe wrote: > I forgot to mention that I currently use version 2.2.0. > Can you create a small sample application that demonstrates this? Then its much easier to look into it to see what / if we can do in Camel. > - Ingo > > -- Claus Ibsen Apache Camel

Re: Method setExceptionListener not permitted in J2EE-Servers

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 9:15 AM, waterback wrote: > > Hi Claus, > > this bean is configured like this: > >         class="org.apache.camel.component.jms.JmsComponent"> >                 >                 >         > >         cache="true" /> > >         class="org.springframework.transaction.jta.W

Re: Bindy CSV not Marshaling

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 7:55 AM, Claus Ibsen wrote: > On Mon, May 31, 2010 at 7:50 AM, Nick Heudecker wrote: >> Thanks for the response.  There appear to be two bugs with Bindy 2.3.0. >> First, BindyAbstractFactory#generateKey() creates an invalid number if you >> don't define a @Section annotati

Re: Use a route to delete a file?

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 3:57 PM, ankelee wrote: > > Hi > > I have a route where I fetch a batch of files (copies) from an FTP, send > this batch to another route and shutdown the FTP route. > > Then I process the files, and based on that processing I want to delete > these files (one by one) from

CamelSpringTestSupport and Hibernate Transactions

2010-05-31 Thread jejmaster
Hi I would like to inquire regarding Transactional Services support for CamelSpringTestSupport. Apparently, I am experiencing Transaction problems (cant call commit when auto-commit=true) when running camel tests when my spring services are transactional. Is there a camel spring test support for

Re: Unsupported data type exception with Jetty component

2010-05-31 Thread Willem Jiang
Hi Bertrand, I can reproduce the issue, so it's a bug of camel-jetty component. I just create a JIRA[1] for it and will try to fix it today. [1] https://issues.apache.org/activemq/browse/CAMEL-2772 Willem bgoetzmann wrote: It seems that mail.jar missed on my classpath; now, there is no more e

http component SSL problem

2010-05-31 Thread M.Ismail
Hi, I'm using the camel-http component to communicate with an SSL web service and I'm receiving the following exception: java.security.KeyStoreException: No private keys found in keystore! at org.apache.commons.ssl.KeyStoreBuilder.validate(KeyStoreBuilder.java:269) at org.apach

Re: Dynamic origin file components?

2010-05-31 Thread Mattias Severson
I found the error. It seems like the FTP server that I am is configured to passive mode. Consequently, the solution is as follows: ftp://u...@host:21/remote_directory?password=secret&passiveMode=true /Mattias -- View this message in context: http://old.nabble.com/Dynamic-origin-file-components

Re: Clustering with camel-quartz

2010-05-31 Thread Ingo Düppe
I forgot to mention that I currently use version 2.2.0. - Ingo

Re: Dynamic origin file components?

2010-05-31 Thread Mattias Severson
Hmm, there seem to be a problem when I attempt to verify the suggested solution: I have a local file on my computer /Users/mattias/local_directory/ftp-test.txt The URI I use is of type ftp://u...@host:21/remote_directory?password=secret The Exchange.FILE_NAME in the header is set to ftp-test.txt

Re: Deployment strategies

2010-05-31 Thread Jon Anstey
I haven't watched this myself, but there is a webinar on Camel deployment titled "Get Started with Camel Deployment" here: http://fusesource.com/resources/video-archived-webinars That may help you out before the next book update. On Mon, May 31, 2010 at 1:37 PM, Taariq Levack wrote: > Great, I

Clustering with camel-quartz

2010-05-31 Thread Ingo Düppe
Hello, I need to cluster my camel server and be able to simple restart the service if a crash ocured. But I cannot figure out how to configure my camel-quartz triggers to resume simply after a restart. Or even worst, how to start the multiple instances of my cluster. I always get the ObjectAlread

Re: Current ThreadPoolProfile

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 6:04 PM, sub3 wrote: > > > > Claus Ibsen-2 wrote: >> >> On Sun, May 30, 2010 at 9:40 PM, sub3 wrote: >>> >>> Hi, >>> >>> Can I change the current ThreadPoolProfile maxPoolSize via code at >>> runtime? >>> I wanted to experiment to see if I was hitting the upper limit. >>>

RE: Deployment strategies

2010-05-31 Thread Taariq Levack
Great, I'll look forward to that chapter. And thanks for the book btw, I'm thoroughly enjoying it. Taariq -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: 31 May 2010 05:50 PM To: users@camel.apache.org Subject: Re: Deployment strategies On Mon, May 31, 2010 at

Re: Current ThreadPoolProfile

2010-05-31 Thread sub3
Claus Ibsen-2 wrote: > > On Sun, May 30, 2010 at 9:40 PM, sub3 wrote: >> >> Hi, >> >> Can I change the current ThreadPoolProfile maxPoolSize via code at >> runtime? >> I wanted to experiment to see if I was hitting the upper limit. >> >> I google-d and one person said you could get to it throu

Re: Deployment strategies

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 5:39 PM, Taariq Levack wrote: > Hi > > I've seen the FAQ page re "Should I deploy Camel inside the ActiveMQ broker > or in another application", > I've also bought the early access book which says,  ... > "In the next section we will review some of the various deployment s

Deployment strategies

2010-05-31 Thread Taariq Levack
Hi I've seen the FAQ page re "Should I deploy Camel inside the ActiveMQ broker or in another application", I've also bought the early access book which says, ... "In the next section we will review some of the various deployment strategies which are possible with Camel applications. 13.4 Deploy

Re: Unsupported data type exception with Jetty component

2010-05-31 Thread bgoetzmann
It seems that mail.jar missed on my classpath; now, there is no more exception. Now, I try to write to use the DataHandler to write a file on the disk, but with: DataHandler data = in.getAttachment("text.txt") the statement bellow gives me 0, and I can't write anything: data.getInputStream().av

Use a route to delete a file?

2010-05-31 Thread ankelee
Hi I have a route where I fetch a batch of files (copies) from an FTP, send this batch to another route and shutdown the FTP route. Then I process the files, and based on that processing I want to delete these files (one by one) from the FTP. Any ideas how I could do this? I was thinking usin

Re: Problems shutting down route onCompletion

2010-05-31 Thread Claus Ibsen
On Fri, May 28, 2010 at 5:45 PM, ankelee wrote: > > But even so, shouldn't onCompletion first do it's work when the route was > actually completely done with everything? Yeah we should most likely improve Camel to re-order the synchronizations to execute the at last. I will create a ticket for i

Re: How To Save A State Of Execution

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 11:49 AM, Carlo Camerino wrote: > hi, > > i read the documentation regarding claim checks, > i was wondering if it could be changed to a nonpersistent state? > > i need to store sockets and i don't think i could serialize it. > Yeah the point is that you just create whatev

Unsupported data type exception with Jetty component

2010-05-31 Thread bgoetzmann
Hello, I'm writing a post on using Camel with Groovy; in my sample I'm using Camel 2.3.0, the Jetty component and a Processor (written in a Groovy DSL). So, I would like to process an attachment in my processor as explained in the documentation (http://camel.apache.org/jetty.html); I submit a for

Re: How To Save A State Of Execution

2010-05-31 Thread Carlo Camerino
hi, i read the documentation regarding claim checks, i was wondering if it could be changed to a nonpersistent state? i need to store sockets and i don't think i could serialize it. thanks carlo On Mon, May 31, 2010 at 4:00 PM, Carlo Camerino wrote: > nice > > thanks a lot! > > > On Wed, May

Re: How To Save A State Of Execution

2010-05-31 Thread Carlo Camerino
nice thanks a lot! On Wed, May 26, 2010 at 4:58 PM, Claus Ibsen wrote: > Hi > > Its a bit like the Claim Check EIP pattern. Eg you just impl. your own > Registry to store the data, which you can retrieve again later. > > > On Tue, May 25, 2010 at 4:08 PM, Carlo Camerino > wrote: > > i think th

Re: Using mockito to mock endpoint behavior

2010-05-31 Thread Claus Ibsen
On Mon, May 31, 2010 at 9:42 AM, eirilwan wrote: > > Hi > > Excellent. > Seems to fix all of our problems. Good work > Thanks for reporting and reporting back that the fix works. > > Claus Ibsen-2 wrote: >> >> Hi >> >> Can you try latest code as we have committed a fix after the 2.3 release. >>

Re: Using mockito to mock endpoint behavior

2010-05-31 Thread eirilwan
Hi Excellent. Seems to fix all of our problems. Good work Claus Ibsen-2 wrote: > > Hi > > Can you try latest code as we have committed a fix after the 2.3 release. > > > On Thu, May 27, 2010 at 2:51 PM, eirilwan wrote: >> >> Hi >> >> When upgrading from Camel 2.1.0 to 2.3.0 we encountered

Re: Method setExceptionListener not permitted in J2EE-Servers

2010-05-31 Thread waterback
Hi Claus, this bean is configured like this: And the JNDI-lookup looks up a WMQ-Connection Factory configured in WebSphere AS. Maybe this is of interest or not, but i have a @Ma