Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-04-30 Thread Claus Ibsen
Hi I have uploaded a 2nd patch at CAMEL-1572 - (the b patch) I got the async API prototype also. On Thu, Apr 30, 2009 at 5:39 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, Apr 30, 2009 at 4:00 PM, Willem Jiang willem.ji...@gmail.com wrote: How about introducing Async requestBody API

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-01 Thread Claus Ibsen
be fixed as well. I have also attached a prototype for a patch for the new async API experiment I have done. See CAMEL-1572. -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus Apache Camel

Unit testing occasional fails due port number already in use

2009-05-02 Thread Claus Ibsen
- camel-cxf That can have this issue as well sometimes, eg as port 9080, 8080, or what we use can cause the port number already in use issue. For inspiration see the camel-ftp there is some base ftp unit test classes that set ups the feature to use a new number each time. Any thoughts? -- Claus

Re: Camel 2.0 fails on hudson due OSGi-test

2009-05-03 Thread Claus Ibsen
Claus Ibsen wrote: Hi Is it possible to get the OSGi integration test working on hudson again? This is the latest failure. See console output. http://hudson.zones.apache.org/hudson/job/Camel/134/console [INFO] Error for project: Camel :: OSGi Integration Tests (during install) [INFO

Re: [Feedback tutorial required] - Camel 2.0 - ServiceMix - Apache Wicket - OSGI - CXF ...

2009-05-05 Thread Claus Ibsen
, 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

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-05 Thread Claus Ibsen
producer template so we have a single combined template for all producer sync and async. Its about 10 more methods. On Tue, May 5, 2009 at 11:05 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi I had some more time to work on this. I have attached a 2nd patch on the JIRA ticket 1572. This time

Re: Fwd: [Question] About Camel Spring and registration of new endpoint (camel-quickfix)

2009-05-05 Thread Claus Ibsen
=org.apache.camel.quickfix.QuickfixInitiator Is it enough to register new camel endpoints ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com -- Claus Ibsen Apache Camel Committer Open Source Integration

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-06 Thread Claus Ibsen
of turning route into async mode and support thread pools using JDK executor service. - Support Jetty continuation with async Should we mark the old API in Camel 1.x as @deprecated? On Tue, May 5, 2009 at 4:48 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Just wanted to keep you posted. Had

Re: Jetty unit https test messages

2009-05-06 Thread Claus Ibsen
/Jetty-unit-https-test-messages-tp23402063p23402063.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 Apache

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-06 Thread Claus Ibsen
Hi Status update On Wed, May 6, 2009 at 9:17 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi I have committed first cut of the new Async API to Camel trunk. See ticket CAMEL-1572 for svn revision and details. The remaining work: - Migrate MulticastProcessor DONE - Remove last piece

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-06 Thread Claus Ibsen
read this and ask you to do some prototyping :) Regards, Gert Vanthienen Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/5/6 Claus Ibsen claus.ib...@gmail.com: Hi Status update On Wed, May 6, 2009 at 9:17 AM, Claus

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
(content-type); +         // initialize message header filter map with default SOAP filter         messageHeaderFiltersMap = new HashMapString, MessageHeaderFilter();         addToMessageHeaderFilterMap(new SoapMessageHeaderFilter()); -- Claus Ibsen Apache Camel Committer Open Source

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 email.w...@gmail.com wrote: On Wed, May 6, 2009 at 11:55 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, May 7, 2009 at 5:02 AM, William Tam email.w...@gmail.com wrote: On Wed, May 6, 2009 at 9:57 PM, Willem Jiang willem.ji...@gmail.com wrote

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-08 Thread Claus Ibsen
Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/5/6 Claus Ibsen claus.ib...@gmail.com: Hi Status update On Wed, May 6, 2009 at 9:17 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi I have committed first cut of the new Async API

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
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: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, May 8, 2009 at 9:52 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, May 8, 2009 at 9:31 AM, Charles Moulliard cmoulli...@gmail.com wrote

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
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 Apache Camel Reference Card: http

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
-server:examples/server.cfg).convertBodyTo(InputStream.class).to(quickfix-client:examples/client.cfg);     }     public static void main(String[] args) { -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http

Re: [Question about] - New camel quickfix component

2009-05-08 Thread Claus Ibsen
) {        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 Ibsen claus.ib...@gmail.com wrote: Hi I suggest to take a look at camel-velocity endpoint how

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-09 Thread Claus Ibsen
between the CXF message and Camel message back and forth. Since the DefaultCxfBinding will not be used in CamelTranpsort, I just revert the change of the CXFHeaderHelper. Willem William Tam wrote: On Wed, May 6, 2009 at 11:55 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, May 7

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-11 Thread Claus Ibsen
, 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 Claus Ibsen wrote: On Fri, May 8, 2009 at 8:52 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Wed

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-12 Thread Claus Ibsen
$Revision$ @@ -24,7 +23,7 @@  public class TestBean {     private String subject; -    public void onMethod(@XPath(/*/@subject)String subject) { +    public void onMethod(@MyXPath(/*/@subject)String subject) {         this.subject = subject;     } -- Claus Ibsen Apache Camel

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
. 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: http://fusesource.com Blog: http

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
boolean containsGzip(String str) { +    public static boolean containsGzip(String str) {         return str != null str.toLowerCase().indexOf(GZIP) = 0;     } -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter

[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
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 * blog : http://cmoulliard.blogspot.com -- Claus

Re: [VOTE] Release Apache Camel 1.6.1

2009-05-14 Thread Claus Ibsen
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
/message-translator.html Claus Ibsen-2 wrote: Hi Can you create a small project or unit test demonstrating this? And if so please create a JIRA ticket and attach the sample project. Then we have a good head start to investigate, and see what the problem is. In the mean time you

Re: FileComponent - flattern?

2009-05-17 Thread Claus Ibsen
On Mon, May 18, 2009 at 6:11 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Mon, May 18, 2009 at 5:43 AM, Joe Gottman josephgott...@comcast.net wrote:   One of the options for the FileComponent is flattern.  This is not a word in English.  Do you mean flatten (no 'r'?)  I know it's fairly

[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: [VOTE] Release Apache Camel 1.6.1

2009-05-18 Thread Claus Ibsen
/ -- 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
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 Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http

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

2009-05-19 Thread Claus Ibsen
: 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 Apache Camel Committer Open Source Integration: http

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

2009-05-22 Thread Claus Ibsen
);          GZIPInputStream unzipInput = new GZIPInputStream(is); -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

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
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 willem.ji...@gmail.com wrote: The camel-bindy test also have the dependency of camel-spring-javaconfig. So I'd like to revert the change of spring

[HEADS UP - About my latest commits]

2009-05-23 Thread Claus Ibsen
. -- 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 claus.ib

Re: Setting Maven to package source in jars

2009-05-24 Thread Claus Ibsen
build to export the source code into the jars so I can trace and debug easily to learn how it works. Is there a  specific flag that enables this. Thanks... -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter

Re: Camel 2.0 Async Findings - Roadmap to a solution

2009-05-25 Thread Claus Ibsen
for 2.1. Thoughts? Kind regards, Christopher -- View this message in context: http://www.nabble.com/Camel-2.0-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

Re: Camel 2.0-M2 release status

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

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

2009-05-25 Thread Claus Ibsen
for this and attach 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 claus.ib...@gmail.com 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 you cannot

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
/contributing.html 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 Apache Camel

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
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. On Mon, May 25, 2009 at 4:12 PM, jpcook jonathan.c...@erars.plus.com wrote: I

Re: Adding New Component For General Camel Use

2009-05-27 Thread Claus Ibsen
-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
and configuration of Camel planned for 2.1 Thoughts? Kind regards, Christopher -- View this message in context: http://www.nabble.com/Camel-2.0-Async-Findings---Roadmap-to-a-solution-tp23310165p23702159.html Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen

Re: Need to setup vm template dynamically

2009-05-28 Thread Claus Ibsen
in the velocity page: http://camel.apache.org/velocity.html Kindly suggest. Regards, Arin -- View this message in context: http://www.nabble.com/Need-to-setup-vm-template-dynamically-tp23764960p23764960.html Sent from the Camel Development mailing list archive at Nabble.com. -- Claus

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
allowed. Might pick up another one now :) Can I add my name to list of contributors yet ;) Claus Ibsen-2 wrote: Hi Jonathan Thanks for the patch. Its attached to the JIRA so cool. On Mon, May 25, 2009 at 4:12 PM, jpcook jonathan.c...@erars.plus.com wrote: I attached the patch. However I

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 jonathan.c...@erars.plus.com 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 at 11:18 AM

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

2009-05-29 Thread Claus Ibsen
=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=51973#action_51973 ] Claus Ibsen commented on CAMEL-1653: Good idea. I think I will give this option an overhaul and introduce an enum to choose what you want What we have now: - override - append

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 claus.ib...@gmail.com wrote: On Mon, May 25, 2009 at 9:00 AM, huntc hu...@mac.com 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 functionality as a new

Re: how to contribute a new component

2009-05-30 Thread Claus Ibsen
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 claus.ib...@gmail.com wrote: Hi I have looked into this a bit more. With this we can

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 claus.ib

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

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

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

2009-06-01 Thread Claus Ibsen
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 - camel-supercsv - camel-swing - camel-uface - camel-hamcrest - camel-jhc Who can

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 claus.ib...@gmail.com wrote: On Mon, May 25, 2009 at 9:32 AM, S. Ali Tokmen savas-ali.tok...@bull.net

Re: HeaderFilterStrategyAware problem in latest snapshot

2009-06-03 Thread Claus Ibsen
)       ... 51 more -- 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-08 Thread Claus Ibsen
-- 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
-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: unmarshal content of a POJO property !!

2009-06-11 Thread Claus Ibsen
=CamelBindydataFormat to uri=/ Remark : the request object must stay in the body of the exchange message Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com -- Claus Ibsen Apache Camel Committer Open

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 Tokmensavas-ali.tok...@bull.net wrote: Hello Claus Ibsen a écrit : On Thu, Jun 11, 2009 at 10:14 AM, S. Ali Tokmensavas-ali.tok...@bull.net wrote: Hello The commit I've attached, that has been done a few seconds before the tag, breaks the OSGi

Re: in.body.bean - camel simple language

2009-06-11 Thread Claus Ibsen
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
: http://cmoulliard.blogspot.com On Thu, Jun 11, 2009 at 1:53 PM, Claus Ibsen claus.ib...@gmail.comwrote: On Thu, Jun 11, 2009 at 1:49 PM, Charles Moulliardcmoulli...@gmail.com wrote: Hi, Can we have access to the content of the body using simple language ? eg. I have put a Request

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

2009-06-12 Thread Claus Ibsen
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: [VOTE] Release Apache Camel 2.0-M2

2009-06-12 Thread Claus Ibsen
Hadrian -- 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
Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 16, 2009 at 12:09 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Tue, Jun 16, 2009 at 11:50 AM, Charles Moulliardcmoulli...@gmail.com wrote: Hi, Is it an issue or not ? If I define

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

2009-06-16 Thread Claus Ibsen
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 claus.ib...@gmail.com wrote: On Tue, Jun 16, 2009 at 12:53 PM, Charles Moulliardcmoulli

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
-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
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 claus.ib...@gmail.com wrote: On Thu, Jun 18, 2009 at 2:59 PM, Joe Gottman

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

2009-06-21 Thread Claus Ibsen
hours, 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

Re: Catching errors from from endpoints

2009-06-23 Thread Claus Ibsen
On Tue, Jun 23, 2009 at 4:04 AM, Joe Gottman josephgott...@comcast.netwrote: Claus Ibsen-2 wrote: On Thu, Jun 18, 2009 at 2:59 PM, Joe Gottman josephgott...@comcast.netwrote: Suppose I have a route that begins with something like from(file://c:\foo\bar) and I want

Re: Does the RouteDefinition instance contain only one route?

2009-06-26 Thread Claus Ibsen
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
. -- 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
stopRoute instead. It will remove and stop at the same time. Claus Ibsen-2 wrote: On Fri, Jun 26, 2009 at 10:57 AM, alloyerallo...@gmail.com wrote: I see RouteDefinition uses ListFromDefinition and ListProcessorDefinition as inputs and outputs to maintain the message endpoints. It seems

Re: Proposed build upgrade

2009-06-28 Thread Claus Ibsen
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
me a little confusing. Claus Ibsen-2 wrote: On Fri, Jun 26, 2009 at 6:22 PM, alloyerallo...@gmail.com wrote: Now groovy renderer has been implemented, but only tested by using some rotue with basic processorDefinitions now. For test all the processorDefinitions, I wonder where can I get

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

2009-06-29 Thread Claus Ibsen
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
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: Hi Tickets == I am looking into two issues related

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

2009-06-30 Thread Claus Ibsen
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 the LRUCache more effective. Just my two cents. Willem Claus Ibsen wrote: Hi

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

2009-07-01 Thread Claus Ibsen
://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp0288p24301005.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

Re: DataFormats - Spring DSL - Bindy

2009-07-02 Thread Claus Ibsen
: 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: Converter discover in OSGi

2009-07-02 Thread Claus Ibsen
SOA 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: [jira] Commented: (CAMEL-1392) groovy renderer

2009-07-04 Thread Claus Ibsen
wrote: The getLoadBalancerType don't return null but the getAnnotation(). The getLoadBalancerType return a LoadBalancerDefinition instance, which I think should be a RandomLoadBalancerdefinition one. The dsl is: from(direct:start).loadBalance().random().to(mock:x, mock:y, mock:z) Claus Ibsen

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

2009-07-04 Thread Claus Ibsen
) Claus Ibsen-2 wrote: On Sat, Jul 4, 2009 at 8:16 AM, alloyerallo...@gmail.com wrote: Grabbing name from dataFormat type works fine. But when I use it on loadBalancer type, it throws a null pointer exception. loadBalanceDefinition.getLoadBalancerType().getClass().getAnnotation

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

2009-07-06 Thread Claus Ibsen
this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp0288p24353726.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

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

2009-07-06 Thread Claus Ibsen
. -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp0288p24353532.html Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog

[DISCUSSION / VOTE] - remove @author tags in code

2009-07-07 Thread Claus Ibsen
Hi I want to propose that we remove the @author tags in the source code for Apache Camel. We only have about 20 files with author tags and for 2 persons. As I understand its not common at Apache to have @author tags in the source code. Here is my +1 to remove them -- Claus Ibsen Apache Camel

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

2009-07-07 Thread Claus Ibsen
will be much easier. If it is determined, I will do this work. Hi Could you post a sample of this problem / issue. Its much easier to understand and discuss with a sample to make the problem more clearer for us. Claus Ibsen-2 wrote: I do wonder if we should by default change the toString

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

2009-07-07 Thread Claus Ibsen
processing and can't deal with some complicated expressions. If the xxxDefinition classes provide a toString() method which presents a DSL-style string, the rendering work will be much easier. If it is determined, I will do this work. Claus Ibsen-2 wrote: I do wonder if we should

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

2009-07-08 Thread Claus Ibsen
to implement. Xueqiang, does this sound good to you? Maybe a toDslString() method or something is needed. On Tue, Jul 7, 2009 at 11:27 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Tue, Jul 7, 2009 at 3:37 PM, Jon Ansteyjans...@gmail.com wrote: So yeah, rendering languages that we input

Re: [DISCUSS] Exchange copy api cleanup

2009-07-08 Thread Claus Ibsen
. But since we only got one instance of Exchange now it should be much easier. Hadrian -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: [DISCUSS] Faults and Exceptions in Camel

2009-07-08 Thread Claus Ibsen
getExchangeId();    void setExchangeId(String id);    void addOnCompletion(Synchronization onCompletion); -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

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

2009-07-09 Thread Claus Ibsen
to the issue online. -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp0288p24404372.html Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Open Source Integration

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

2009-07-09 Thread Claus Ibsen
/browse/CAMEL-1756 Claus Ibsen-2 wrote: On Thu, Jul 9, 2009 at 7:47 AM, alloyerallo...@gmail.com wrote: Have the endpoint URIs been changed to direct://start from direct:start ? I haven't updated my camel-core source for several days. Maybe I have to update it now. Yes the endpoint

Re: [DISCUSS] Faults and Exceptions in Camel

2009-07-09 Thread Claus Ibsen
: Hi, Comments inline. Hadrian On Jul 9, 2009, at 12:54 AM, Claus Ibsen wrote: On Wed, Jul 8, 2009 at 9:52 PM, Hadrian Zbarceahzbar...@gmail.com wrote: Hi, As we approach the 2.0, there is one more hanging issue I would like addressed, if possible.  It's the thorny issue of Faults

Re: [DISCUSS] Faults and Exceptions in Camel

2009-07-09 Thread Claus Ibsen
messages etc as Claus says? 2009/7/9 Claus Ibsen claus.ib...@gmail.com: On Thu, Jul 9, 2009 at 9:03 AM, Guillaume Nodetgno...@gmail.com wrote: In web services world, faults are not exceptions, but usually an xml payload.  In the java world, faults would be like checked exceptions and errors

<    1   2   3   4   5   6   7   8   9   10   >