Re: svn commit: r772054 - in /camel/trunk/components/camel-cxf/src: main/java/org/apache/camel/component/cxf/CxfHeaderFilterStrategy.java test/java/org/apache/camel/component/cxf/CxfRawMessageRouter

2009-05-06 Thread Claus Ibsen
; camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfHeaderFilterStrategy.java >>>> (original) >>>> +++ >>>> camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfHeaderFilterStrategy.java >>&g

Re: svn commit: r772054 - in /camel/trunk/components/camel-cxf/src: main/java/org/apache/camel/component/cxf/CxfHeaderFilterStrategy.java test/java/org/apache/camel/component/cxf/CxfRawMessageRouter

2009-05-06 Thread Claus Ibsen
On Thu, May 7, 2009 at 6:29 AM, William Tam wrote: > On Wed, May 6, 2009 at 11:55 PM, Claus Ibsen wrote: >> On Thu, May 7, 2009 at 5:02 AM, William Tam wrote: >>> On Wed, May 6, 2009 at 9:57 PM, Willem Jiang wrote: >>>> Hi William, >>>> >>>&

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-07 Thread Claus Ibsen
uldn't have to worry about this. > > Regards, > > Gert Vanthienen > > Open Source SOA: http://fusesource.com > Blog: http://gertvanthienen.blogspot.com/ > > > > 2009/5/6 Claus Ibsen : >> Hi >> >> Status update >> >> On We

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
 } > >    // for acceptor >    public Consumer createConsumer(Processor processor) throws Exception { >        this.processor = processor; >        return new QuickfixConsumer(this, processor); >    } > > Regards, > > Charles Moulliard > Senior Enterpri

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
has to be splitted in two endpoints, one corresponding to > each to avoid both IN/OUT ???* > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***** > blog : http://cmoulliard.blogspot.com > > > On Fri, May 8,

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
      >> > class="org.apache.camel.component.quickfix.QuickfixInitiator"/> >>> > >>> > >>> >     http://camel.apache.org/schema/osgi";> >>> >         >>> >             >> uri="quickfix-server:META-INF/exam

Re: svn commit: r772961 - in /camel/trunk/components/camel-quickfix/src: main/java/org/apache/camel/component/quickfix/converter/ main/resources/META-INF/services/org/apache/camel/ test/java/org/apa

2009-05-08 Thread Claus Ibsen
org.apache.camel.spring.SpringRouteBuilder; >  import org.springframework.context.support.ClassPathXmlApplicationContext; > > @@ -30,7 +32,7 @@ >  public class PassiveFixGateway extends SpringRouteBuilder { > >     public void configure() throws Exception { > -         > from

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
ring uri, CamelContext context, String > configuration) { >        super(uri, context); >        this.configuration = configuration; >    } > > uri = endpointUri > configuration = resourceUri > *context is not equal to Component !!!* > > > On Fri, May 8, 2009 at 2:45 PM, Claus

Re: svn commit: r773035 - in /camel/trunk: camel-core/src/main/java/org/apache/camel/util/ tests/camel-itest/src/test/java/org/apache/camel/itest/async/ tests/camel-itest/src/test/resources/

2009-05-08 Thread Claus Ibsen
ExtractBody makes me think it's async method call, but in fact it > will block the calling thread if the feature is not done yet. Good idea willem, I was in doubt with a good name so I took the internal extractBody name at first. Your idea is much better, so lets use it. > > Willem

Re: svn commit: r772054 - in /camel/trunk/components/camel-cxf/src: main/java/org/apache/camel/component/cxf/CxfHeaderFilterStrategy.java test/java/org/apache/camel/component/cxf/CxfRawMessageRouter

2009-05-08 Thread Claus Ibsen
gt;>>> CamelTransport. >>>>> The integration test of CustomerServicesTest shows the user case. >>>>> >>>>> Since there is no protocol header defined in Camel-xxx component, camel >>>>> transport need to copy the content-type between the CXF mess

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-10 Thread Claus Ibsen
On Fri, May 8, 2009 at 8:52 AM, Claus Ibsen wrote: > On Wed, May 6, 2009 at 3:41 PM, Gert Vanthienen > wrote: >> Hi Claus, >> >> Nice work on cleaning up the async API for Camel!  Using well-known >> java.util.concurrency classes to build the API is a goo

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-11 Thread Claus Ibsen
for the client API using the ProducerTemplate there are no problem, as the transaction should usually not span both the client + "camel". But for sure that is something you should consider when doing transactions. Everyting has its pros/cons. Also async messaging. > > Willem > >

Re: Handling Exception from marshal/unmarshal

2009-05-11 Thread Claus Ibsen
is message in context: > http://www.nabble.com/Handling-Exception-from-marshal-unmarshal-tp23494097p23494097.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: ht

Re: svn commit: r773781 - in /camel/trunk: camel-core/src/main/java/org/apache/camel/component/bean/ camel-core/src/test/java/org/apache/camel/processor/ components/camel-spring/src/test/java/org/apa

2009-05-11 Thread Claus Ibsen
he/camel/component/xslt/TestBean.java?rev=773781&r1=773780&r2=773781&view=diff > == > --- > camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/xslt/TestBean.java > (original)

[DISCUSS - Camel 2.0]- Synchronization (UnitOfWork callbacks) and needed syntax DSL sugar

2009-05-12 Thread Claus Ibsen
ike. And we could consider having scope as well. So you can define synchronization hooks at global level, so they apply for all. Any thoughts? -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-12 Thread Claus Ibsen
dated the design page and moved the UnitOfWork callbacks from 2.1 to 2.0. > > Willem > > Claus Ibsen wrote: >> On Mon, May 11, 2009 at 9:32 AM, Willem Jiang wrote: >>> Hi Claus >>> >>> I really enjoy to read the document that you write. >

Re: Handling Exception from marshal/unmarshal

2009-05-12 Thread Claus Ibsen
still exists. Instructions on the Camel download page, how to get it. On Tue, May 12, 2009 at 2:55 PM, Joe Gottman wrote: > > > > Claus Ibsen-2 wrote: >> >> On Tue, May 12, 2009 at 2:13 AM, Joe Gottman >> wrote: >> >> Can you show the route DSL how you do

Re: [DISCUSS - Camel 2.0]- Synchronization (UnitOfWork callbacks) and needed syntax DSL sugar

2009-05-12 Thread Claus Ibsen
houghts? On Tue, May 12, 2009 at 10:20 AM, Claus Ibsen wrote: > Hi > > Now that the we had an internal API cleanup and the new Async API in place. > I thought I will take a look at the UnitOfWork and its synchronization hooks. > > About synchronization > = >

Re: [DISCUSS - Camel 2.0]- Synchronization (UnitOfWork callbacks) and needed syntax DSL sugar

2009-05-13 Thread Claus Ibsen
Hi I have just committed the first cut to trunk. I decided that onCompletion was a better DSL keyword than synchronize. I have added a wiki page that shows how to use it and some background on it: http://cwiki.apache.org/confluence/display/CAMEL/OnCompletion Any thoughts? -- Claus Ibsen

Re: Setting the HeaderFilterStrategy on the component

2009-05-13 Thread Claus Ibsen
obal on the component. But the endpoint can override if it want to. Or you can just set it on the endpoint. So you get the best from both worlds. > > [1] https://issues.apache.org/activemq/browse/CAMEL-1594 > > Willem > -- Claus Ibsen Apache Camel Committer Open Source Integration:

Re: svn commit: r774658 - in /camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http: DefaultHttpBinding.java HttpHeaderFilterStrategy.java HttpProducer.java RequestEntityCo

2009-05-14 Thread Claus Ibsen
default StringRequestEntity > +            return null; > +        } >     } > > > > Modified: > camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/helper/GZIPHelper.java > URL: > http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/m

[DISCUSS - Camel 2.0 - API] - Exchange as final, also eg to discourage custom Exchange implementations

2009-05-14 Thread Claus Ibsen
more work to get it as DefaultExchange. And at that time we can check whether its possible to make Exchange final, and thus have paved the road for further optimizations in Camel. Any thoughts? -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http

Re: ssh connection behind firewall !!

2009-05-14 Thread Claus Ibsen
chekout Camel and commit over HTTPS. > > Does anybody has a solution to connect to people.apache.org server through > maybe a HTTP/S tunnel ? > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***** &g

Re: [VOTE] Release Apache Camel 1.6.1

2009-05-14 Thread Claus Ibsen
ote is open for 72 hours. > > Here's my +1 > > Hadrian +1 -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Handling Exception from marshal/unmarshal

2009-05-17 Thread Claus Ibsen
wiki pages to look at: http://camel.apache.org/request-reply.html http://camel.apache.org/message-translator.html > > > > > Claus Ibsen-2 wrote: >> >> Hi >> >> Can you create a small project or unit test demonstrating this? >> And if so please

Re: FileComponent - flattern?

2009-05-17 Thread Claus Ibsen
n" should at least be a synonym for > "flattern". Hi Well spotted. It should be flatten like the feature ANT has as well. I will fix it today. > -- > View this message in context: > http://www.nabble.com/FileComponent---flattern--tp23590588p23590588.html > Sent fro

Re: FileComponent - flattern?

2009-05-17 Thread Claus Ibsen
On Mon, May 18, 2009 at 6:11 AM, Claus Ibsen wrote: > On Mon, May 18, 2009 at 5:43 AM, Joe Gottman > wrote: >> >>   One of the options for the FileComponent is "flattern".  This is not a >> word in English.  Do you mean "flatten" (no 'r'

[DISCUSS - Camel 2.0] - Move not used components to a sandbox area

2009-05-17 Thread Claus Ibsen
- we do not used it internally for unit testing either Any thoughts? -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: FileComponent - flattern?

2009-05-18 Thread Claus Ibsen
On Mon, May 18, 2009 at 12:36 PM, Joe Gottman wrote: > > > > Claus Ibsen-2 wrote: >> >> On Mon, May 18, 2009 at 6:11 AM, Claus Ibsen >> wrote: >>> On Mon, May 18, 2009 at 5:43 AM, Joe Gottman >>> wrote: >>>> >>>>   One of t

Re: [VOTE] Release Apache Camel 1.6.1

2009-05-18 Thread Claus Ibsen
>> >> Hadrian > > > > -- > James > --- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: @ExchangeException does not always bind to the caught Exception

2009-05-18 Thread Claus Ibsen
to bind to the outermost Exception. > -- > View this message in context: > http://www.nabble.com/%40ExchangeException-does-not-always-bind-to-the-caught-Exception-tp23607585p23607585.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen

Re: @ExchangeException does not always bind to the caught Exception

2009-05-19 Thread Claus Ibsen
Hi Joe I got it. I have reproduced an unit test demonstrating this issue. I have created a ticket to track it: https://issues.apache.org/activemq/browse/CAMEL-1626 Will commit a fix shortly. On Tue, May 19, 2009 at 6:51 AM, Claus Ibsen wrote: > Hi Joe > > Which version of Camel are

Re: [Suggestion] - Add a table in the DSL wiki page of Camel

2009-05-19 Thread Claus Ibsen
tag name (ex : from()) and the piece > of code implementing the DSL action ? > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***** > blog : http://cmoulliard.blogspot.com > -- Claus Ibsen Ap

Re: svn commit: r776455 - in /camel/trunk: components/camel-spring-javaconfig/pom.xml platforms/karaf/features/pom.xml pom.xml

2009-05-22 Thread Claus Ibsen
;        1.2_1 >>>        1.5_1 >>> >>> Modified: camel/trunk/pom.xml >>> URL: >>> http://svn.apache.org/viewvc/camel/trunk/pom.xml?rev=776455&r1=776454&r2=776455&view=diff >>> == >>> --- camel/trunk/pom.xml (original) >>> +++ camel/trunk/pom.xml Tue May 19 20:55:53 2009 >>> @@ -1093,7 +1093,7 @@ >>>                  false >>>                  clean install >>>                  deploy >>> -                -Prelease,deploy >>> +                 >>> -Prelease,deploy,enable-schemagen,sourcecheck,hibernate-derby >>>                  true >>>               >>>           >>> >>> >>> >> >> > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: svn commit: r777655 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/GzipDataFormat.java

2009-05-22 Thread Claus Ibsen
>>          GZIPOutputStream zipOutput = new GZIPOutputStream(stream); >>          try { >> @@ -45,8 +41,7 @@ >> >>      } >> >> -    public Object unmarshal(Exchange exchange, InputStream stream) >> -        throws Exception { >> +    public Object unmarshal(E

Re: svn commit: r776455 - in /camel/trunk: components/camel-spring-javaconfig/pom.xml platforms/karaf/features/pom.xml pom.xml

2009-05-22 Thread Claus Ibsen
the snapshot in our local repo. And if Spring release a M5 we can switch to that version. > > Willem > > > Claus Ibsen wrote: >> On Thu, May 21, 2009 at 3:05 AM, Willem Jiang wrote: >>> The camel-bindy test also have the dependency of camel-spring-javaconfig. &g

[HEADS UP - About my latest commits]

2009-05-23 Thread Claus Ibsen
st commits. -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [HEADS UP - About my latest commits]

2009-05-23 Thread Claus Ibsen
consumer is a work in progress as there are other components that can leverage this. In camel-core its only the file component. But the mail, rss, atom and some others support batching as well. So there is still work to migrate these components. On Sat, May 23, 2009 at 9:32 AM, Claus Ibsen wrote

Re: Errors building source code

2009-05-23 Thread Claus Ibsen
e.org/repo/m2-ibiblio-rsync-repository), >  central (http://repo1.maven.org/maven2) > > -- > View this message in context: > http://www.nabble.com/Errors-building-source-code-tp23683799p23683799.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Errors building source code

2009-05-23 Thread Claus Ibsen
NFO] Total time: 4 minutes 1 second > [INFO] Finished at: Sun May 24 02:02:31 EST 2009 > [INFO] Final Memory: 472M/844M > [INFO] > > E:\ei\camel> > > > > > Claus Ibsen-2 wrote: >> >> Hi

Re: Setting Maven to package source in jars

2009-05-23 Thread Claus Ibsen
unning the "mvn clean >> install" from root. >> >> Willem >> >> oohogwash wrote: >>> I want the camel build to export the source code into the jars so I can >>> trace >>> and debug easily to learn how it works. >>> Is ther

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-25 Thread Claus Ibsen
wiki.apache.org/confluence/display/CAMEL/Camel+2.0+Design We have improved thread pool configuration on the roadmap for 2.1. > > Thoughts? > > Kind regards, > Christopher > -- > View this message in context: > http://www.nabble.com/Camel-2.0-Async-Findings---Roadmap

Re: Camel 2.0-M2 release status

2009-05-25 Thread Claus Ibsen
e out why.  The problem is related to endpoints >>>> not being injected, afaict. >>>> >>>> I will be flying to Europe now and won't be online probably until >>>> Sat/Sun when I'll build the kit.  If anybody can fix those tests that'd &g

[DISCUSS - CAMEL 2.0] - About Producers and thread safety

2009-05-25 Thread Claus Ibsen
a patch for people to look at. Any thoughts? -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

camel-restlet - Why is it not InOut by default

2009-05-25 Thread Claus Ibsen
ExchangePattern.InOut; } -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [DISCUSS - CAMEL 2.0] - About Producers and thread safety

2009-05-25 Thread Claus Ibsen
/issues/browse/MR-18 On Mon, May 25, 2009 at 10:19 AM, Claus Ibsen wrote: > Hi > > A recent bug was reported in ticket CAMEL-1641 > https://issues.apache.org/activemq/browse/CAMEL-1641 > > The issue is in Camel 2.0 the FTP producer is not thread safe, in the > sense that yo

Re: CAMEL-1599 - Add the proxy options to camel-http so you can set it easily from the URI

2009-05-25 Thread Claus Ibsen
> > Jonathan > -- > View this message in context: > http://www.nabble.com/CAMEL-1599---Add-the-proxy-options-to-camel-http-so-you-can-set-it-easily-from-the-URI-tp23707659p23707659.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen

Re: CAMEL-1599 - Add the proxy options to camel-http so you can set it easily from the URI

2009-05-26 Thread Claus Ibsen
ticket. But we should get your patch in the codebase in a day or two. The contributions list is here: http://camel.apache.org/team.html > > > > Claus Ibsen-2 wrote: >> >> Hi Jonathan >> >> Thanks for the patch. Its attached to the JIRA so cool. >>

Re: How to set from id and subject of an email in camel-context.com

2009-05-27 Thread Claus Ibsen
Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: How to set from id and subject of an email in camel-context.com

2009-05-27 Thread Claus Ibsen
t; http://www.nabble.com/How-to-set-from-id-and-subject-of-an-email-in-camel-context.com-tp23745547p23745843.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Adding New Component For General Camel Use

2009-05-27 Thread Claus Ibsen
bble.com/Adding-New-Component-For-General-Camel-Use-tp23754070p23754070.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-28 Thread Claus Ibsen
Async-Findings---Roadmap-to-a-solution-tp23310165p23702159.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: How to set from id and subject of an email in camel-context.com

2009-05-28 Thread Claus Ibsen
e spring bean and access the properties http://camel.apache.org/languages.html > > > > -- > View this message in context: > http://www.nabble.com/How-to-set-from-id-and-subject-of-an-email-in-camel-context.com-tp23745547p23760832.html > Sent from the Camel Development mailing list archive a

Re: Need to setup vm template dynamically

2009-05-28 Thread Claus Ibsen
rom the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: CAMEL-1599 - Add the proxy options to camel-http so you can set it easily from the URI

2009-05-29 Thread Claus Ibsen
the new uri parameters? I don't mind doing that if I'm allowed. >> >> Might pick up another one now :) >> >> Can I add my name to list of contributors yet ;) >> >> >> >> Claus Ibsen-2 wrote: >>> >>> Hi Jonathan >>> &g

Re: CAMEL-1599 - Add the proxy options to camel-http so you can set it easily from the URI

2009-05-29 Thread Claus Ibsen
On Fri, May 29, 2009 at 11:51 AM, jpcook wrote: > > same as my jira jonathan.co...@bbc.co.uk > > Thanks! I have granted you karma right now so you should be able to edit the wiki pages now. Welcome onboard. > > Claus Ibsen-2 wrote: >> >> On Fri, May 29, 2009

Re: [jira] Commented: (CAMEL-1653) clobber option for FileComponent

2009-05-29 Thread Claus Ibsen
.org/activemq/browse/CAMEL-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51973#action_51973 >> ] >> >> Claus Ibsen commented on CAMEL-1653: >> >> >> Good idea. I think I will give this option an overhaul and introd

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-29 Thread Claus Ibsen
Hi On Mon, May 25, 2009 at 9:28 AM, Claus Ibsen wrote: > On Mon, May 25, 2009 at 9:00 AM, huntc wrote: >> >> Hi Claus, >> >> As per your blog request, I'd like to discuss the virtues of naming the >> async method "async" vs treating your 2.0

Re: how to contribute a new component

2009-05-29 Thread Claus Ibsen
ge with >> no mina involved.  I'd like to contribute this component to be available to >> public. What are the procedures I need to follow? >> >> Thanks. >> >> Yican >> > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [DISCUSS - CAMEL 2.0] - About Producers and thread safety

2009-05-30 Thread Claus Ibsen
Hi Update on this one. We implemented a generic pooling in Camel naming it Service Pool. Details in the wiki page: http://camel.apache.org/servicepool.html On Mon, May 25, 2009 at 3:10 PM, Claus Ibsen wrote: > Hi > > I have looked into this a bit more. > > With this

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-30 Thread Claus Ibsen
this behavior, just like the threads DSL (part of the new Async API). http://camel.apache.org/async.html One feature we could consider is to add timeout support. Currently it will wait until the route is comlete, regardless how long it takes. On Fri, May 29, 2009 at 5:14 PM, Claus Ibsen wrote

Re: [DISCUSS - Camel 2.0] - Move not used components to a sandbox area

2009-05-31 Thread Claus Ibsen
: > Damn, I forgot how much crappy unfinished code I'd written - great > catch Claus :) > > 2009/5/18 Claus Ibsen : >> Hi >> >> In Camel 2.0 we have several components that are not used, abandoned >> and/or in a questionable quality. We have touched this issu

Re: [DISCUSS - Camel 2.0] - Move not used components to a sandbox area

2009-06-01 Thread Claus Ibsen
the sandbox > > BTW, please remember to remove the assembly descriptions of this > components in apache-camel module. > > Willem > > Claus Ibsen wrote: >> Hi >> >> To sum up the list of components to be moved to a sandbox area are: >> - camel-activemq-web

Re: Camel 2.0-M2 release status

2009-06-01 Thread Claus Ibsen
and there have been major work done, so its important to give the community time to test drive it before we start finalizing and doing a RC cut. On Mon, May 25, 2009 at 9:38 AM, Claus Ibsen wrote: > On Mon, May 25, 2009 at 9:32 AM, S. Ali Tokmen > wrote: >> Hello >> >> D

Re: JSON DataFormat using Jackson

2009-06-02 Thread Claus Ibsen
solutions that came to mind are: > * Add a new method .marhsal.jackson() -- a little confusing as users may > not know what jackson is > * Add an enum to choose e.g .marshal.json(JsonTypes.JACKSON) -- would > need to choose a default impl > Any other suggestions? > > Martin.

Re: HeaderFilterStrategyAware problem in latest snapshot

2009-06-03 Thread Claus Ibsen
gframework.util.ClassUtils.forName(ClassUtils.java:211) >>       at >> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385) >>       at >> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBean

Re: Camel 2.0-M2 release status

2009-06-03 Thread Claus Ibsen
the 9th of april. And not the real latest one. You have to download the .jar manually and update your own m2 repo. Or build the source and install. > > Cheers > > -- > > S. Ali Tokmen > savas-ali.tok...@bull.net > > Office: +33 4 76 29 76 19 > GSM:    +33 66 43 0

Re: Camel 2.0-M2 release status

2009-06-08 Thread Claus Ibsen
ndows box, I think you can kick off the >> release process now :) >> >> Cheers, >> >> Willem > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [jira] Commented: (CAMEL-1671) Incorrect enum name for WaitForTaskToComplete enum

2009-06-08 Thread Claus Ibsen
t-enum-name-for-WaitForTaskToComplete-enum-tp23879397p23932793.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: OSGI - camel spring bean - @Handler (java.lang.NullPointerException at org.apache.camel.component.bean.MethodInfo$2.evaluate(MethodInfo.java:197))

2009-06-09 Thread Claus Ibsen
 at > org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:81) > > Is the problem related to the fact that camel can't find the method where > @handler has been defined ? > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > * > blog : http://cmoulliard.blogspot.com > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: OSGI - camel spring bean - @Handler (java.lang.NullPointerException at org.apache.camel.component.bean.MethodInfo$2.evaluate(MethodInfo.java:197))

2009-06-09 Thread Claus Ibsen
ve the request in the DB >        this.saveRequest(request); > >        // add the request object to the exchange >        exchange.getOut().setBody(request); > >    } > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > *

Re: unmarshal content of a POJO property !!

2009-06-11 Thread Claus Ibsen
he exchange message > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***** > blog : http://cmoulliard.blogspot.com > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: svn commit: r783621 - /camel/tags/camel-2.0-M2/

2009-06-11 Thread Claus Ibsen
               // split the message with namespaces defined > +                Namespaces namespaces = new Namespaces("one", > "http://camel.apache.org/schema/one";); > +                from("direct:endpoint").split().xpath("//one:other", > namespaces).to("mock:result"); > +            } > +        }; > +    } > + > +    public void testSenderXmlData() throws Exception { > +        MockEndpoint result = getMockEndpoint("mock:result"); > +        result.reset(); > +        result.expectedMessageCount(4); > +        template.sendBody("direct:endpoint", xmlData); > +        assertMockEndpointsSatisfied(); > +        int i = 0; > +        for (Exchange exchange : result.getExchanges()) { > +            ElementImpl element = (ElementImpl) exchange.getIn().getBody(); > +            String message = CxfUtils.elementToString(element); > +            log.info("The splited message is " + message); > +            assertTrue("The splitted message should start with message.indexOf(" +            assertEquals("Get a wrong message", verifyStrings[i], message); > +            i++; > +        } > +    } > + > + > + > +} > > Propchange: > camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/util/SplitterWithXqureyTest.java > -- >    svn:eol-style = native > > Propchange: > camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/util/SplitterWithXqureyTest.java > -- >    svn:keywords = Rev Date > > > > > > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: svn commit: r783621 - /camel/tags/camel-2.0-M2/

2009-06-11 Thread Claus Ibsen
On Thu, Jun 11, 2009 at 10:23 AM, S. Ali Tokmen wrote: > Hello > > Claus Ibsen a écrit : >> >> On Thu, Jun 11, 2009 at 10:14 AM, S. Ali >> Tokmen wrote: >> >>> >>> Hello >>> >>> The commit I've attached, that has been done

Re: in.body.bean - camel simple language

2009-06-11 Thread Claus Ibsen
ulliard > Senior Enterprise Architect > Apache Camel Committer > > ***** > blog : http://cmoulliard.blogspot.com > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: in.body.bean - camel simple language

2009-06-12 Thread Claus Ibsen
94) >>>     at ognl.Ognl.getValue(Ognl.java:458) >>>     at >>> org.apache.camel.language.ognl.OgnlExpression.evaluate(OgnlExpression.java:58) >>>     ... 21 more >>> >>> Is it related to a bad syntax : >>> >>>         >>&g

Re: How to propagate headers received in a camel bean ?

2009-06-12 Thread Claus Ibsen
@Body String body) { // Request request = ... // populate data on request return request; } > > Regards, > > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > * > blog : http://

Re: [VOTE] Release Apache Camel 2.0-M2

2009-06-12 Thread Claus Ibsen
ote is open for 72 hours. > > Here's my +1 > > Hadrian -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Camel 2.0-M2 release status

2009-06-15 Thread Claus Ibsen
st week as I planned due to errors I hit.  I fixed the >>>>>> checkstyle issues, but now I hit a new one attempting to release again >>>>>> (see below).  It's a circular dependency introduced in the past days, >>>>>> which you may not see i

Re: Error not raised by Camel if the @Header type define in a bean is not correct

2009-06-16 Thread Claus Ibsen
ing Camel fail with an type conversion error. > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > * > blog : http://cmoulliard.blogspot.com > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Error not raised by Camel if the @Header type define in a bean is not correct

2009-06-16 Thread Claus Ibsen
; Apache Camel Committer > > * > blog : http://cmoulliard.blogspot.com > > > On Tue, Jun 16, 2009 at 12:09 PM, Claus Ibsen wrote: > >> On Tue, Jun 16, 2009 at 11:50 AM, Charles Moulliard >> wrote: >> > Hi, >> > >>

Re: Error not raised by Camel if the @Header type define in a bean is not correct

2009-06-16 Thread Claus Ibsen
> > and the test does not fail ! > > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > * > blog : http://cmoulliard.blogspot.com > > > On Tue, Jun 16, 2009 at 1:19 PM, Claus Ibsen wrote: > >>

Re: Error not raised by Camel if the @Header type define in a bean is not correct

2009-06-16 Thread Claus Ibsen
See ticket https://issues.apache.org/activemq/browse/CAMEL-1719 -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: camel-spring build error

2009-06-21 Thread Claus Ibsen
tPluginManager.java:451) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:49 > >>>>>> 9) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:924) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:767) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:529) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav > >>>>>> a:330) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > >>>>>> at > >>>>>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > >>>>>> at > >>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > >>>>>> at > >>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > >>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > >>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >>>>>> Method) > >>>>>> at > >>>>>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >>>>>> at > >>>>>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >>>>>> at java.lang.reflect.Method.invoke(Method.java:585) > >>>>>> at > >>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >>>>>> at > >>>>>> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >>>>>> at > >>>>>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >>>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >>>>>> > >>>>>> Hope some one can give instructions to solve it. > >>>>> > >>> > >>> > >> > > > > > > > > -- > View this message in context: > http://www.nabble.com/camel-spring-build-error-tp24108489p24131900.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Catching errors from "from" endpoints

2009-06-21 Thread Claus Ibsen
View this message in context: > http://www.nabble.com/Catching-errors-from--%22from%22-endpoints-tp24092503p24092503.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Catching errors from "from" endpoints

2009-06-21 Thread Claus Ibsen
But often you can just do a from(file) .onException(Exception) Or a from doTry ... doCatch(Exception) That will catch any exception occurred during routing an Exchange. On Mon, Jun 22, 2009 at 6:51 AM, Claus Ibsen wrote: > > > On Thu, Jun 18, 2009 at 2:59 PM, Joe Gott

Re: Suggestion : component to scan a file (like tail, mtail, ...)

2009-06-21 Thread Claus Ibsen
f the FIX server is down, if we are > outside of business hours, > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***** > blog : http://cmoulliard.blogspot.com > -- Cla

Re: Catching errors from "from" endpoints

2009-06-22 Thread Claus Ibsen
On Tue, Jun 23, 2009 at 4:04 AM, Joe Gottman wrote: > > > > Claus Ibsen-2 wrote: > > > > On Thu, Jun 18, 2009 at 2:59 PM, Joe Gottman > > wrote: > > > >> > >> Suppose I have a route that begins with something like > >> > &g

Re: camel-extra changes for CAMEL-2.0

2009-06-25 Thread Claus Ibsen
/www.nabble.com/camel-extra-changes-for-CAMEL-2.0-tp24202025p24202025.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Contributing to Camel Component documentation

2009-06-25 Thread Claus Ibsen
(since an > > inexpert contribution is probably better than nothing at all, assuming I > > don't make a complete shambles of it :-). > > > > Cheers, > > Fintan > > -- > > View this message in context: > > > http://www.nabble.com/Contributing-to-Came

Re: Does the RouteDefinition instance contain only one route?

2009-06-26 Thread Claus Ibsen
ble.com/Does-the-RouteDefinition-instance-contain-only-one-route--tp24217052p24217052.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [jira] Assigned: (CAMEL-1392) groovy renderer

2009-06-26 Thread Claus Ibsen
IRA. >> - >> You can reply to this email to add a comment to the issue online. >> >> >> > > -- > View this message in context: > http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp0288p24223272.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Does the RouteDefinition instance contain only one route?

2009-06-27 Thread Claus Ibsen
need to use stopRoute instead. It will remove and stop at the same time. > > > Claus Ibsen-2 wrote: >> >> On Fri, Jun 26, 2009 at 10:57 AM, alloyer wrote: >>> >>> I see RouteDefinition uses List and >>> List >>> as inputs and outputs to

Re: How can I do the -Psourcecheck before creating a patch?

2009-06-28 Thread Claus Ibsen
iseSVN  on windows XP. > -- > View this message in context: > http://www.nabble.com/How-can-I-do-the--Psourcecheck-before-creating-a-patch--tp24247776p24247776.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Comm

Re: Proposed build upgrade

2009-06-28 Thread Claus Ibsen
und one blocking legal problem in > camel-examples-spring, see > https://issues.apache.org/activemq/browse/CAMEL-1765.. > > thanks > david jencks > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [jira] Assigned: (CAMEL-1392) groovy renderer

2009-06-28 Thread Claus Ibsen
stions? That's much better if you can tell a >> overview of the expression node structure because the bundle of concepts: >> Expression, Predicate, ExpressionDefinition..., let me a little confusing. >> >> >> Claus Ibsen-2 wrote: >>> >>> On Fr

Re: [jira] Assigned: (CAMEL-1392) groovy renderer

2009-06-28 Thread Claus Ibsen
new issue where you can set it as a Apache Camel project, and as a bug. And then give it a summary about ExpressionDefinition not being able to render correctly in web console. Then we will not forget about it and can look into it in the near future. > > > Claus Ibsen-2 wrote: >> &

[DISCUSS] - Camel 2.0 - About Endpoints with lenient properties eating to much memory

2009-06-29 Thread Claus Ibsen
people use millions of unqiue http endpoints we let the chace filter out the not used ones. -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [DISCUSS] - Camel 2.0 - About Endpoints with lenient properties eating to much memory

2009-06-30 Thread Claus Ibsen
ed. Then we could deny caching those http endpoints with lenient properties, as they are highly not reuseable. BTW: then end user confirmed that the memory issue is fixed in 1.6.2 with the patches committed today. > > Just my two cents. > > Willem > > Claus Ibsen wrote: >&

Re: [DISCUSS] - Camel 2.0 - About Endpoints with lenient properties eating to much memory

2009-06-30 Thread Claus Ibsen
need find a way to trim the customer parameter from the >> endpoint URI. If we could do that, it will save us lots room for the store >> the fake temp http endpoints (we could share the endpoints in the >> ProducerCache/ConsumerCache with different customer parameter) and make th

<    5   6   7   8   9   10   11   12   13   14   >