Re: Users in stockholm area?

2009-09-16 Thread Claus Ibsen
On Wed, Sep 16, 2009 at 4:54 PM, Peter Lundberg wrote: > > Hopefully not to off-topic but I would like to get in touch with other users > in Sweden or stockholm to exchange experiences and "references" if possible. > In some camps camel needs help to sell management on it... > //Peter Hi I am fr

Re: Error using camel-file with windows

2009-09-16 Thread Claus Ibsen
Hi Very strange. The NPE is definitely because of OSGi. If you run it outside OSGi then it should run with no problems. However configuring the URL as file:C:\toto is a bit odd that it affects the error. I would say it could report some errors on startup. Could you check the log. You could also

Re: newbie: Camel for Non CXF webservices

2009-09-16 Thread Willem Jiang
Hi, It dependents on what kind of message that you can get from the servlet. If you can got the SOAP request message from the servlet (The message body can be an InputStream), you can just redirect the message or do some transforming work on the message then send the message to the camel-http

Re: newbie: Camel for Non CXF webservices

2009-09-16 Thread Winsks
My route is like this, http://activemq.apache.org/camel/schema/spring"; shouldStartContext="true"> --> http://localhost:8080/websvc/JaxWsService?serviceClass=com.websvc.jaxws.JaxWs"; pattern

Re: pollEnrich doesn't look for FILE_NAME

2009-09-16 Thread Dragisa Krsmanovic
https://issues.apache.org/activemq/browse/CAMEL-2019 On Wed, 2009-09-16 at 18:06 +0200, Claus Ibsen wrote: > I actually think you hit a shortcoming of the PollingConsumer API. > This API does not support supplying options from outside. > Could you create a JIRA ticket then we can have a look at

Error using camel-file with windows

2009-09-16 Thread TheWinch
Hi, Here is my config: Windows XP SMX4 (fuse esb 4.1.0.2) camel-core on SMX4 (v 2.0.0-M3) I am deploying a very simple route: However, when I deploy my bundle into servicemix, I get the following error : 18:17:44,415 | ERROR | 4: FileComponent | Fi

Re: pollEnrich doesn't look for FILE_NAME

2009-09-16 Thread Claus Ibsen
On Wed, Sep 16, 2009 at 5:52 PM, Dragisa Krsmanovic wrote: > On Tue, 2009-09-15 at 22:53 -0700, Fintan Bolton wrote: >> The first argument to pollEnrich() specifies a consumer endpoint, not a >> producer endpoint. So, instead of sending the current exchange (the one >> containing the header) to th

Re: pollEnrich doesn't look for FILE_NAME

2009-09-16 Thread Dragisa Krsmanovic
On Tue, 2009-09-15 at 22:53 -0700, Fintan Bolton wrote: > The first argument to pollEnrich() specifies a consumer endpoint, not a > producer endpoint. So, instead of sending the current exchange (the one > containing the header) to the endpoint, the pollEnrich() command creates a > new exchange obj

Users in stockholm area?

2009-09-16 Thread Peter Lundberg
Hopefully not to off-topic but I would like to get in touch with other users in Sweden or stockholm to exchange experiences and "references" if possible. In some camps camel needs help to sell management on it... //Peter -- View this message in context: http://www.nabble.com/Users-in-stockholm-a

Re: Hundreds lines of DefaultPackageScanClassResolver created in the log - can we disable this ?

2009-09-16 Thread Claus Ibsen
Hi I will commit a fix shortly that reduces the WARN to DEBUG to avoid spamming the logs. On Wed, Sep 16, 2009 at 12:15 PM, Charles Moulliard wrote: > Hi, > > If the class to be processed by DataFormat is not defined or wrong package > name provided, then hundred lines like this are generated in

Re: Can't download or build Camel 2.0

2009-09-16 Thread Hadrian Zbarcea
Hi Willem, This is from David's patch, I worked on it yesterday, and this is exactly the reason why the src was not packaged. This release was the first since the upgrade to apache 6. It hurts me that we didn't catch this during voting. There are a few changes needed in the descriptors a

Hundreds lines of DefaultPackageScanClassResolver created in the log - can we disable this ?

2009-09-16 Thread Charles Moulliard
Hi, If the class to be processed by DataFormat is not defined or wrong package name provided, then hundred lines like this are generated in the log file : 10:53:13,872 | WARN | tenerContainer-1 | OsgiPackageScanClassResolver | .DefaultPackageScanClassResolver 409 | Could not find class '/or

Re: Question concerning pollingConsumer usage

2009-09-16 Thread Charles Moulliard
This is what I have tested successfully import java.util.ArrayList; import java.util.List; import org.apache.camel.Consume; public class ReportingConsumer { private List result = new ArrayList(); @Consume(ref = "queueReportingEndpoint") public List collectMessages(List received) {

Re: Question concerning pollingConsumer usage

2009-09-16 Thread Claus Ibsen
On Wed, Sep 16, 2009 at 10:38 AM, Charles Moulliard wrote: > Hi, > > I will implement a bean component who will play the role of a > pollingConsumer. This bean will be called every x minutes from a quartz > endpoint. This bean component will read all messages posted in a queue until > the last one

Question concerning pollingConsumer usage

2009-09-16 Thread Charles Moulliard
Hi, I will implement a bean component who will play the role of a pollingConsumer. This bean will be called every x minutes from a quartz endpoint. This bean component will read all messages posted in a queue until the last one and create a list of objects who will be used next by marshal function

Re: Camel file

2009-09-16 Thread Claus Ibsen
On Tue, Sep 15, 2009 at 3:21 PM, Julien D wrote: > > Hi, > > I have a simple route which consums files from a directory. When I stop my > fileConsumer from Jconsole  calling the stop method, the thread doesn't > disappear in the thread tab. When I re-start my consumer using the start > method anot