Re: Abstracting Routes using Components

2011-01-27 Thread Willem Jiang
On 1/28/11 4:36 AM, Mond Raymond wrote: Any more news on this? Ashwin already committed a camel-routebox component[1] into the Camel 2.6.0, and we will release it shortly. [1]https://cwiki.apache.org/CAMEL/routebox.html -- Willem -- FuseSource Web: http://ww

Re: Cxf-rs endpoint implementation

2011-01-27 Thread Willem Jiang
Sorry, I give you a wrong url, it should be http://localhost:9000/route/bookstore/123 On 1/28/11 2:27 PM, ghosh wrote: It says file not found if I change. Exception in thread "main" java.io.FileNotFoundException: http://localhost:9002/route/bookstore/123 at sun.net.www.protocol.http

Re: CfxBinding places custom headers at different places

2011-01-27 Thread unmarshall
Hi Willem, >You can override the DefaultCxfBinding by putting your custom header >into the CXF message. camel-cxf component support you to set a custom >CxfBinding from URI with the option like this "cxfBinding=#bindingName ". > >Then you don't need add other custom processor into the route. Y

Re: How to completely disable redelivery in Camel 1.6.0

2011-01-27 Thread Claus Ibsen
On Thu, Jan 27, 2011 at 8:24 PM, alik wrote: > > Hi. > > What is the easiest way to disable redelivery in Camel 1.6.0 using Sprint > config XML? My routes are hard-coded so can't do much there. Disabling > redelivering for the entire Camel context will be fine. From what I've read > in this forum

Re: Cxf-rs endpoint implementation

2011-01-27 Thread ghosh
It says file not found if I change. Exception in thread "main" java.io.FileNotFoundException: http://localhost:9002/route/bookstore/123 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311) at java.net.URL.openStream(URL.java:1010) at

Re: Abstracting Routes using Components

2011-01-27 Thread Mond Raymond
Any more news on this? -- View this message in context: http://camel.465427.n5.nabble.com/Abstracting-Routes-using-Components-tp3234703p3360406.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to completely disable redelivery in Camel 1.6.0

2011-01-27 Thread alik
Hi. What is the easiest way to disable redelivery in Camel 1.6.0 using Sprint config XML? My routes are hard-coded so can't do much there. Disabling redelivering for the entire Camel context will be fine. From what I've read in this forum I understood that I should use errorHandlerRef property of

Re: Issues running Apache Camel Examples

2011-01-27 Thread Hadrian Zbarcea
Perfect, thanks. Hadrian On Jan 27, 2011, at 11:23 AM, Claus Ibsen wrote: > On Thu, Jan 27, 2011 at 5:16 PM, Hadrian Zbarcea wrote: >> Claus, is there a problem with the Apache Camel 2.6.0 release? >> Hadrian >> > > No the Apache version is fine. > > Its the FuseSource which lacks in the pom

Re: Issues running Apache Camel Examples

2011-01-27 Thread Claus Ibsen
On Thu, Jan 27, 2011 at 5:16 PM, Hadrian Zbarcea wrote: > Claus, is there a problem with the Apache Camel 2.6.0 release? > Hadrian > No the Apache version is fine. Its the FuseSource which lacks in the pom.xml so you can access the FuseSource repo to download the JARs we provide. The Apache JA

Re: Issues running Apache Camel Examples

2011-01-27 Thread Hadrian Zbarcea
Claus, is there a problem with the Apache Camel 2.6.0 release? Hadrian On Jan 27, 2011, at 9:36 AM, Claus Ibsen wrote: > Hi > > Yeah we should take this conversation at FuseSource. > > Just one last remark though. > > The problem you have is only in the latest 2.6.0 release. > > I have creat

Re: Restlet - Unable to fully initialize the Restlet. No Restlet engine

2011-01-27 Thread davsclaus
You need to add dependency on the restlet engine. com.noelios.restlet:com.noelios.restlet:jar:1.1.10:compile com.noelios.restlet com.noelios.restlet We have enabled that by default in Camel 2.6 onwards. -- View this message in context: http://camel.465427.n5.nabb

Re: Cxf-rs endpoint implementation

2011-01-27 Thread Willem Jiang
On 1/27/11 11:21 PM, ghosh wrote: Hi I am newbie here... I was following an example http://camel.apache.org/cxfrs.html http://camel.apache.org/cxfrs.html to get a rest endpoint. The problem here is the sample application does not follow the route even if the rest service is hit.My understandi

Cxf-rs endpoint implementation

2011-01-27 Thread ghosh
Hi I am newbie here... I was following an example http://camel.apache.org/cxfrs.html http://camel.apache.org/cxfrs.html to get a rest endpoint. The problem here is the sample application does not follow the route even if the rest service is hit.My understanding is once the rest services is hit

Re: Schedule file/mail endpoint

2011-01-27 Thread Claus Ibsen
Hi Yeah the mail consumer should work with pollEnrich. Seems like a NPE exception. Maybe you can dig in the source and see why? Fell free to open a JIRA, so we can look into it and have it fixed. On Thu, Jan 27, 2011 at 12:57 PM, Alfred Hiebl wrote: > > Hi, > > thanks a lot for your quick resp

CXF Synchronous Response Generated Asynchronously

2011-01-27 Thread Brian
We are using camel as our central hub for routing all XML messages between our difference content providers. We have run into an an implementation/design issue that we are not sure if it is possible in camel or at least have not found a solution for it yet. We are still early users of camel so our

Re: Issues running Apache Camel Examples

2011-01-27 Thread woggle23
Will do, apologies for any inconvenience. Claus, many thanks for your help! Cheers Matt -- View this message in context: http://camel.465427.n5.nabble.com/Issues-running-Apache-Camel-Examples-tp3359515p3359826.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issues running Apache Camel Examples

2011-01-27 Thread Claus Ibsen
Hi Yeah we should take this conversation at FuseSource. Just one last remark though. The problem you have is only in the latest 2.6.0 release. I have created a ticket to track this: http://fusesource.com/issues/browse/MR-406 I will provide details for the workaround you can do in that link abo

Re: Issues running Apache Camel Examples

2011-01-27 Thread Hadrian Zbarcea
Matt, could you please move this discussion to the fusesource forums? [1] This mailing list has a lot of traffic as it is and should be used for issues/questions related to the Apache distro, not a vendor's. Thanks, Hadrian [1] http://fusesource.com/forums/index.jspa On Jan 27, 2011, at 9:01 A

Re: Problem renaming existing file in FTP

2011-01-27 Thread mikaelfj
Hi, Got a chance to look into this again. We still have the problem described, but just on a few destination servers which all seems to be windows machines(?). I have fetched the 2.4 branch of camel-ftp to find out why it does not work, since the unit test you refer to in your previous post do

Re: Issues running Apache Camel Examples

2011-01-27 Thread woggle23
Hi I tried to use the 2.6.0 version that you pointed me to. I attempted to compile the pojo-messaging example, and received the following error: [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/camel/camel-parent/2.6.0-f use-00-00/camel-parent-2.6.0-fuse-00-

Re: Schedule file/mail endpoint

2011-01-27 Thread Dan Checkoway
Alfred, Why not just use the mail component's consumer.delay instead of the timer+pollEnrich? i.e. something like this: Hope this helps, Dan On Thu, Jan 27, 2011 at 6:57 AM, Alfred Hiebl wrote: > > Hi, > > thanks a lot for your quick response and suggestions!! > > Now that I played a

Re: Issues running Apache Camel Examples

2011-01-27 Thread Claus Ibsen
And there is a getting started guide which you may want to checkout as well http://fusesource.com/docs/router/2.5/getting_started/index.html On Thu, Jan 27, 2011 at 1:29 PM, Claus Ibsen wrote: > On Thu, Jan 27, 2011 at 1:25 PM, woggle23 wrote: >> >> Hi Claus >> >> I don't appear to have an iss

Re: Issues running Apache Camel Examples

2011-01-27 Thread Claus Ibsen
On Thu, Jan 27, 2011 at 1:25 PM, woggle23 wrote: > > Hi Claus > > I don't appear to have an issue with my connection. I can access the > following url fine. > > http://repo1.maven.org/maven2 > > Any other ideas?? > Do you happen to have Maven 2.2.1 on your computer? As support for Maven 3.0 is so

Re: Issues running Apache Camel Examples

2011-01-27 Thread woggle23
Hi Claus I don't appear to have an issue with my connection. I can access the following url fine. http://repo1.maven.org/maven2 Any other ideas?? Cheers Matt -- View this message in context: http://camel.465427.n5.nabble.com/Issues-running-Apache-Camel-Examples-tp3359515p3359609.html Sent f

Re: Schedule file/mail endpoint

2011-01-27 Thread Alfred Hiebl
Hi, thanks a lot for your quick response and suggestions!! Now that I played a little more with my example, I ran into this issue. Should pollEnrich work with the mail component? I end up with this exception: 2011-01-27 12:46:32,111 [foo] ERROR DefaultErrorHandler -

Re: Issues running Apache Camel Examples

2011-01-27 Thread Claus Ibsen
Hi Do you have an issue with your internet connection or DNS lookup? There is this error reported: Error transferring file: repo1.maven.org: Unknown host repo1.maven.org -> You should be able to hit this url from a web browser http://repo1.maven.org/maven2 Its the central maven repo where all t

Issues running Apache Camel Examples

2011-01-27 Thread woggle23
Morning Team I'm very new to Apache-Camel and Apache-Maven, needless to say I'm have a few issues. I downloaded apache-camel-2.5.0-fuse-00-00.zip and have some issues when attempting the run the examples via Maven. The first example I ran successfully (without any issues) was "camel-example-jms

Re: Camel performance improvments

2011-01-27 Thread davsclaus
Yeah see the JIRA why https://issues.apache.org/jira/browse/CAMEL-3260 Basically during startup Camel needs some core type converters and thus the type converters is still loaded (even if you have lazy). because those type converters is used during boot. Whats your use-case since you must be abl