Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Rafal Janik
Hi, thanks a lot for all answers! Sorry Christian, I forgot about it: camel-core (2.2.0) activemq-camel (5.3.0) jdk 1.6.0.21   regards rafal On Thu, Nov 4, 2010 at 12:28 AM, Christian Müller wrote: Hello Rafal! Please provide more details like the Camel version you are u

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Claus Ibsen
On Thu, Nov 4, 2010 at 9:09 AM, Rafal Janik wrote: > Hi, > > thanks a lot for all answers! > > Sorry Christian, I forgot about it: > > camel-core (2.2.0) > activemq-camel (5.3.0) > jdk 1.6.0.21 > > > Camel 2.4 and 2.5 is much better at picking among ambiguous methods. So please consider upgradi

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Rafal Janik
Title: This email may contain confident Thanks a lot, I'm using camel in fuse 4.2.0. In version 4.3 there is camel 2.4(.0-fuse) so i will check it. regards, rafal On Thu, Nov 4, 2010 at 9:09 AM, Rafal Janik wrote: Hi, thanks a lot for all answers

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Christian Müller
Hello! I made the tests and the patch against the latest version (2.6-SNAPSHOT). You will still receive this exception... I'm not sure which way we want to go (because of the note from Claus) - maybe both? Christian

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Paweł Wesołowski
Hi, As a user I would like to see both features in camel. Camel should choose the most obvious method to invoke, the one that doesn't need to convert payload, on his own. However, there are situation when it is needed to explicitly pick the method to call and if I had to choose from the two o

Re: Camel-quickfix logging

2010-11-04 Thread Christian Müller
Hello Vid! I think this is a question for the Log4J mailing list. They can answer this question better than we... However, if it's possible for you to use a property file for your log4j configuration (that's the way Camel configure log4j), you will find many samples in the Camel unit tests like th

Request reply

2010-11-04 Thread Bruno Dusausoy
Hi, I'm tinkering with request-reply messaging over JMS, with help from "Camel in Action" book (chapter 7, jms). If I use from("jms:incomingOrders") .to("jms:xmlOrders?exchangePattern=InOut"); as endpoint, it works well, I get my response back. But if I try with inOut() like this : from(

Re: Request reply

2010-11-04 Thread Bruno Dusausoy
On Thu, 04 Nov 2010 11:23:46 +0100, Bruno Dusausoy wrote: > Hi, > [...] > > So my question is : "is there a difference between setting the > exchangePattern option and using the inOut() method ?" > [...] Ok, I think I've tightened the scope of the problem. This code doesn't work (as explained

[DISCUSS] CXF 2.3 upgrade in Camel 2.6?

2010-11-04 Thread William Tam
Willem and I would like to start a discussion regarding which release of Camel should be upgraded to CXF 2.3. There is a lot of good reasons to upgrade to CXF 2.3. However, upgrading it in Camel 2.6 could mean stopping supporting CXF 2.2.x in the future Camel 2.x releases. (see https://is

Camel Excel Data Component

2010-11-04 Thread Pitre, Russell
I searched the mailing list archives and website for a Microsoft Excel data component but was unable to come up with anything. Does such a component exist yet? Thanks -Russ

Re: Camel Excel Data Component

2010-11-04 Thread Jean-Baptiste Onofré
Hi Russ, this kind of component doesn't exist yet. I'm preparing two camel components, once based on pdfbox and one based on POI. My idea is to extend Camel to a kind of document composer/printer tool. Regards JB On 11/04/2010 04:03 PM, Pitre, Russell wrote: I searched the mailing list archi

RE: Camel Excel Data Component

2010-11-04 Thread Łukasz Dywicki
Hi, I used POI to read Excel files without direct Camel data format: http://svn.code-house.org/wjug/internal/xls/src/main/java/org/code_house/sam ples/xls/XlsMoneyTransferCreator.java If you are working under OSGi you may use POI bundle from Apache ServiceMix bundles repository. Best regards, Lu

RE: Camel Excel Data Component

2010-11-04 Thread Pitre, Russell
Exactly what I was looking for. Thanks! -Original Message- From: Łukasz Dywicki [mailto:l...@code-house.org] Sent: Thursday, November 04, 2010 11:20 AM To: users@camel.apache.org; j...@nanthrax.net Subject: RE: Camel Excel Data Component Hi, I used POI to read Excel files without direct

JMS ReplyTo not sent for InOnly Pattern

2010-11-04 Thread igoldsmith
I'm trying to setup a fairly simple scenario where I use Camel to pull a document out of a directory on the file system and send it to a JMS queue. I have an application that will read the message from the queue and send a response to the queue specified in the replyTo header of the inbound messa

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Claus Ibsen
Hi I created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-3311 2010/11/4 Paweł Wesołowski : > Hi, > > As a user I would like to see both features in camel. > > Camel should choose the most obvious method to invoke, the one that doesn't > need to convert payload, on his o

TransportDisposedIOException

2010-11-04 Thread igoldsmith
Using a file connector with the following route definition I get a TransportDisposedIOException whenever I drop a file into the monitored directory. Oddly enough it seems that this doesn't affect the functionality of the system. http://camel.apache.org/schema/web"; xmlns="http://camel.apache.or

Re: TransportDisposedIOException

2010-11-04 Thread Claus Ibsen
What version of AMQ are you using? I think it was an known and harmless issue in AMQ 5.4.1 or something like that. Its fixed on trunk and I believe the next release has the fix. On Thu, Nov 4, 2010 at 6:24 PM, igoldsmith wrote: > > Using a file connector with the following route definition I ge

Re: TransportDisposedIOException

2010-11-04 Thread igoldsmith
Thanks for the quick reply. Yes I'm using AMQ 5.4.1. When you say fixed in trunk, is this the Camel trunk or the AMQ trunk? I'm using AMQ 5.4.1, but with Camel 2.5.0. Ian -- View this message in context: http://camel.465427.n5.nabble.com/TransportDisposedIOException-tp3250474p3250540.html Se

Re: TransportDisposedIOException

2010-11-04 Thread Norman Maurer
It's fixed in activemq trunk, but you don't need to worry. It's harmless... Bye Norman 2010/11/4, igoldsmith : > > Thanks for the quick reply. Yes I'm using AMQ 5.4.1. When you say fixed in > trunk, is this the Camel trunk or the AMQ trunk? I'm using AMQ 5.4.1, but > with Camel 2.5.0. > > Ian

MessageConverter Example

2010-11-04 Thread jh0331
Does anyone have a MessageConverter example handy? I am having problems getting this to work... There are a few existing posts on this topic, but none with clear answers / guidance. thanks! jon -- View this message in context: http://camel.465427.n5.nabble.com/MessageConverter-Example-tp325

Re: MessageConverter Example

2010-11-04 Thread Richard Kettelerij
By "messageConverter" do you mean the messageConverter option of the JMS component (http://camel.apache.org/jms.html)? Or do you mean something else? - Richard Kettelerij, http://github.com/rkettelerij -- View this message in context: http://camel.465427.n5.nabble.com/MessageConverter-Examp

Re: JMS ReplyTo not sent for InOnly Pattern

2010-11-04 Thread igoldsmith
I've been reading through the source for the JmsProducer class and don't see how this can ever work for InOnly. It seems that the code is looking at the inMessage in the Exchange for a ReplyTo header, and not checking the endpoint definition to see if it's forcing the ReplyTo in the endpoint defi

Re: MessageConverter Example

2010-11-04 Thread Christian Müller
Or do you mean the Camel type converter? See http://camel.apache.org/type-converter.html Christian

Re: Camel 2.4.0 or 2.5.0 in Glassfish

2010-11-04 Thread Richard Kettelerij
Camel uses the concept of "Pluggable Class Resolvers" (http://camel.apache.org/pluggable-class-resolvers.html) to scan packages for type converters. There are several class resolvers available for containers such as Websphere, JBoss, etc. There are also a few OSGi aware class resolvers (these are

Re: Camel 2.5 JPA Difference From 2.4

2010-11-04 Thread Richard Kettelerij
This behavior hasn't changed between 2.4 and 2.5. The behavior that you're experiencing with 2.5 should also occur when using 2.4. What you have is a pipeline while you should be using a multicast. The following code behaves like you expect as described under 2.4: from("{{export.queue}}") .t

Re: compatability of Apache ver 2.0 with 2.2

2010-11-04 Thread Richard Kettelerij
You're talking about Apache Camel 2.0 and 2.2, right? Take a look at the release notes, the (breaking) changes between versions are discussed in detail: Release notes 2.0: http://camel.apache.org/camel-200-release.html Release notes 2.1: http://camel.apache.org/camel-210-release.html Release note

Re: Fw: Simple Expressions in to() Definitions

2010-11-04 Thread Richard Kettelerij
It works on the file component because you can use it to dynamically specify the filename. What you're trying to do with the direct component is dynamically specify an in-vm endpoint address. This isn't possible. There are other ways to do this kind of routing, like recipient list. - Richard

Re: Camel-quickfix logging

2010-11-04 Thread vcheruvu
Hmm log4j.properties file is weak compared to log4j.xml. The properties file does not support some advanced configuration options like Filters, custom ErrorHandlers and a special type of appenders, i.e. AsyncAppender. ErrorHandlers defines how errors in log4j itself are handled, for example badly

Re: MessageConverter Example

2010-11-04 Thread Claus Ibsen
On Thu, Nov 4, 2010 at 8:44 PM, jh0331 wrote: > > Does anyone have a MessageConverter example handy?  I am having problems > getting this to work... > > There are a few existing posts on this topic, but none with clear answers / > guidance. > Check the unit test source code. > thanks! > jon > -

Re: Request reply

2010-11-04 Thread Willem Jiang
I just checked the code of Camel there is a big difference between the inOut("jms:xmlOrders") and to("jms:xmlOrders?exchangePattern=InOut") inOut("jms:xmlOrders") will set the exchange pattern of the exchange to be InOut, and send the exchange to the endpoint. to("jms:xmlOrders?exchangePatter