JMX in Camel 2.1 - Processor MBeans

2009-10-07 Thread _Jens
Hi, I just checked out the new example for the JMX management in Camel 2.1. When I run the example and browse the MBeans with JConsole, I can see all the processors of the route being instrumented. I then added a setHeader to the route, but it was not shown in JConsole. However, a transform step

Re: Compile error

2009-10-07 Thread Claus Ibsen
Hi I just got a full build locally. mvn clean install -Dtest=false [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 6 minutes 39 seconds [INFO]

Re: camel-example-spring-jms broken in both Apache Camel 2.0.0 and Apache Camel 2.0-M3

2009-10-07 Thread Claus Ibsen
On Wed, Oct 7, 2009 at 8:20 PM, praveen.sharma wrote: > > How do you download 2.1.0 version.  The svn url to checkout is not yet > working.  Nor are the mirror sites to download.  Is the release still in > progress? > Yes its still in progress. So more here on the download page about how to get i

Re: using methodName for bean binding doesn't work with Processor beans

2009-10-07 Thread Claus Ibsen
On Wed, Oct 7, 2009 at 7:44 PM, erh wrote: > > > Claus Ibsen-2 wrote: >> >> On Mon, Oct 5, 2009 at 7:32 PM, erh wrote: >>> Do the snapshots get built automatically?  The dates on the files in the >>> 1.6.2-SNAPSHOT directory are a bit odd.  The md5 and sha1 files have a >>> timestamp from October

Re: Camel : Error Message to CSV file

2009-10-07 Thread Claus Ibsen
Hi You are using XPath expressions $ action = 'AAE' And they *require* the payload to be XML. So you cannot use XPath with CSV. On Wed, Oct 7, 2009 at 10:59 AM, titexe wrote: > > For information > > Version Camel = Camel V1.6.1.2 > Version Activemq = Fuse message broker 5.3.0.3 > Version Jav

Re: catch error in producer endpoint

2009-10-07 Thread Claus Ibsen
On Mon, Oct 5, 2009 at 12:53 PM, parasmk wrote: > > I am trying to pull files from a FTP server (my producer): > > from("ftp://s...@localhost?password=secret...";) > .to("file://tmp?noop=true"); > > Now, I want to catch errors in the FTP endpoint (invalid login, server down, > etc). I have tried e

Re: 1.6 equivalent of interceptFrom/interceptSendToEndpoint

2009-10-07 Thread Claus Ibsen
Hi 1.6 does not have these features. On Wed, Oct 7, 2009 at 8:36 PM, efender wrote: > > I think this would be the correct syntax to intercept all exchanges on > ContentManagerClearCacheTopic, converting beans to JSON on the way in, and > JSON back to beans on the way out. > > >     > > > >  

Re: Camel Mail Component: Content-ID incorrect?

2009-10-07 Thread tide08
Thanks Claus! I have create JIRA item - https://issues.apache.org/activemq/browse/CAMEL-2054 I fixed it temporarily by extending MailComponent and MailBinding. Cheers! Claus Ibsen-2 wrote: > > Hi > > Can you create a ticket in JIRA with your findings? > > > On Tue, Oct 6, 2009 at 8:36 PM,

Re: Zip format problem

2009-10-07 Thread Christian Schneider
Hi Gunnar, very nice article. I think the DataFormat aproach could not be used for extracting a zip file with several files. I guess a solution has to create one Exchange for each file in the zip and send it along the rest of the route. Though I am not sure what is the best way to implement th

1.6 equivalent of interceptFrom/interceptSendToEndpoint

2009-10-07 Thread efender
I think this would be the correct syntax to intercept all exchanges on ContentManagerClearCacheTopic, converting beans to JSON on the way in, and JSON back to beans on the way out. Can anyone convert that to 1.6 syntax for me or point me in the right direction? The old do

Re: camel-example-spring-jms broken in both Apache Camel 2.0.0 and Apache Camel 2.0-M3

2009-10-07 Thread praveen.sharma
How do you download 2.1.0 version. The svn url to checkout is not yet working. Nor are the mirror sites to download. Is the release still in progress? Claus Ibsen-2 wrote: > > On Wed, Oct 7, 2009 at 7:17 PM, praveen.sharma > wrote: >> >> camel-example-spring-jms is not running on both Apach

Re: Example previously running with IONA FUSE Camel 1.6, breaks with Apache Came 2.0.0

2009-10-07 Thread Claus Ibsen
Its called routeBuilderRef now in 2.0 And it looks like you need some osgi.jar in the classpath. On Wed, Oct 7, 2009 at 7:58 PM, praveen.sharma wrote: > > An example that uses spring configuration to instantiate routes (as shown > below), and that was working with the FUSE_Camel 1.6 fails with

Re: Camel Mail Component: Content-ID incorrect?

2009-10-07 Thread Claus Ibsen
Hi Can you create a ticket in JIRA with your findings? On Tue, Oct 6, 2009 at 8:36 PM, tide08 wrote: > >>>Also, RFC standard mention that Content-ID should be globally unique but > Camel Mail just sets it to filename instead. > > I understand setting unique name may need lot of work as camel th

Example previously running with IONA FUSE Camel 1.6, breaks with Apache Came 2.0.0

2009-10-07 Thread praveen.sharma
An example that uses spring configuration to instantiate routes (as shown below), and that was working with the FUSE_Camel 1.6 fails with Apache Camel 2.0.0. Any ideas why the configuration files are looking for org/osgi/framework/BundleContext , and how to fix it. Error == [pache.camel

Re: camel-example-spring-jms broken in both Apache Camel 2.0.0 and Apache Camel 2.0-M3

2009-10-07 Thread Claus Ibsen
On Wed, Oct 7, 2009 at 7:17 PM, praveen.sharma wrote: > > camel-example-spring-jms is not running on both Apache Camel 2.0.0 and Apache > Camel 2.0-M3 > > > The client seems to hang and never returns > On server-side Yeah it has been fixed in 2.1 where the server can stop without hanging. > --

Re: using methodName for bean binding doesn't work with Processor beans

2009-10-07 Thread erh
Claus Ibsen-2 wrote: > > On Mon, Oct 5, 2009 at 7:32 PM, erh wrote: >> Do the snapshots get built automatically?  The dates on the files in the >> 1.6.2-SNAPSHOT directory are a bit odd.  The md5 and sha1 files have a >> timestamp from October 4th, but the tarballs are from September 29th and >

Re: Dead Letter Channel : Error on configuring dead letter channel

2009-10-07 Thread erh
Claus Ibsen-2 wrote: > > On Mon, Oct 5, 2009 at 9:10 PM, erh wrote: >> huh?  I'm looking at the javadocs for 2.0 >> (http://camel.apache.org/maven/camel-core/apidocs/org/apache/camel/builder/DeadLetterChannelBuilder.html) >> and I don't see a deadLetterUri property there either.  What am I >> m

Re: Dead Letter Channel : Error on configuring dead letter channel

2009-10-07 Thread Claus Ibsen
On Mon, Oct 5, 2009 at 9:10 PM, erh wrote: > > > Claus Ibsen-2 wrote: >> >> You are using Camel 1.x which have some properties which are not the >> same as 2.0. >> >> If you use a good IDE you get code completion in the XML editor and >> thus can see which properties you can use. >> >> I recall it

Re: Atom Component

2009-10-07 Thread Claus Ibsen
On Mon, Oct 5, 2009 at 5:01 PM, jpcook wrote: > > Hi, > > I was also wondering why you can't specify that you want all the entries > sorted? It appears that sortEntries only works when splitEntries is true? Create a ticket and we love contributions. So please try to fix it yourself and submit a p

Re: using methodName for bean binding doesn't work with Processor beans

2009-10-07 Thread Claus Ibsen
On Mon, Oct 5, 2009 at 7:32 PM, erh wrote: > > > > Claus Ibsen-2 wrote: >> >> Hi >> >> I have just backported a fix for CAMEL-1878 to 1.x as well. >> You are welcome to try with a new 1.6.2-SNAPSHOT whether it fixes your >> bean problem. >> >> > > Do the snapshots get built automatically?  The dat

camel-example-spring-jms broken in both Apache Camel 2.0.0 and Apache Camel 2.0-M3

2009-10-07 Thread praveen.sharma
camel-example-spring-jms is not running on both Apache Camel 2.0.0 and Apache Camel 2.0-M3 The client seems to hang and never returns On server-side [psha...@padua camel-example-spring-jms]$ mvn -e exec:java -PCamelServer + Error stacktraces are turned on. [INFO] Scanning fo

Re: No asyncSendBodyandHeaders in Camel 2.0?

2009-10-07 Thread Claus Ibsen
On Mon, Oct 5, 2009 at 2:33 PM, huntc wrote: > > Hi there, > > Is there a good reason for there not be an asyncSendBodyandHeaders - the > equiv. exists for requesting... Not really. But this interface is overloaded with methods already. So we try to only add the most commonly used. You can always

Re: Route with content split and backup

2009-10-07 Thread Claus Ibsen
On Mon, Oct 5, 2009 at 6:19 PM, S. Ali Tokmen wrote: > Hello > > Thank you for this brilliant example. > > In my use case, I've used the Expression for only creating a recipient list, > each of them with direct: destinations, and then some other routes starting > from these direct: endpoints. > >

Re: Camel : Error Message to CSV file

2009-10-07 Thread titexe
For information Version Camel = Camel V1.6.1.2 Version Activemq = Fuse message broker 5.3.0.3 Version Java = V1.6.0_16 titexe wrote: > > Hello, > > Here is the description of my route camel : I get a message type Bytes in > my queue, I transferred this message to another broker instance in an

Camel : Error Message to CSV file

2009-10-07 Thread titexe
Hello, Here is the description of my route camel : I get a message type Bytes in my queue, I transferred this message to another broker instance in another machine. was receiving this message I transformed this message to CSV or XML file. my problem is that my route works very well for XML file

Re: EIP - Message Broker Pattern

2009-10-07 Thread Charles Moulliard
You are right David. Implementing a scalable and reliable platform is certainly the most difficult thing to do and consume a lot of time / resources between teams involved in infrastructure management. Personnaly, I think that the scenario must be analyzed regarding to the project or if there is a