From camel-dev-marshallchristopher@example.com Mon Oct 01 12:09:46 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 8864 invoked from network); 1 Oct 2007 12:09:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 12:09:45 -0000 Received: (qmail 25390 invoked by uid 500); 1 Oct 2007 12:09:35 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 25365 invoked by uid 500); 1 Oct 2007 12:09:35 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 25356 invoked by uid 99); 1 Oct 2007 12:09:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 05:09:35 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 12:09:45 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id A09EE71420E for <marshallchristopher@example.com>; Mon, 1 Oct 2007 05:09:24 -0700 (PDT) Message-ID: <28828843.1191240564655.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 05:09:24 -0700 (PDT) From: "Willem Jiang (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Commented: (CAMEL-162) Encoding the unsafe characters in URI In-Reply-To: <5232393.1191059062736.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40226 ] Willem Jiang commented on CAMEL-162: ------------------------------------ This patch is just for encoding the UnsafeChararers and It will not encode the NON-ASCII characters and Reserved characters. > Encoding the unsafe characters in URI > ------------------------------------- > > Key: CAMEL-162 > URL: https://issues.apache.org/activemq/browse/CAMEL-162 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 1.1.0 > Reporter: Willem Jiang > Fix For: 1.2.0 > > Attachments: encoder.patch > > > In RFC1738, there some unsafe characters need to encode, they are > Space Quotation marks 'Less Than' symbol ("<") 'Greater Than' symbol (">") 'Pound' character ("#") Percent character ("%") > Left Curly Brace ("{") Right Curly Brace ("}") Vertical Bar/Pipe ("|") Backslash ("\") Caret ("^") Tilde ("~") Left Square Bracket ("[") Right Square Bracket ("]") Grave Accent ("`") > So I wrote an UnsafeCharactersEncoder to do this job, the unit test also was included. > Please review and apply the patch . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 12:35:53 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 20175 invoked from network); 1 Oct 2007 12:35:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 12:35:52 -0000 Received: (qmail 43217 invoked by uid 500); 1 Oct 2007 12:35:42 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 43180 invoked by uid 500); 1 Oct 2007 12:35:42 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 43171 invoked by uid 99); 1 Oct 2007 12:35:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 05:35:42 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 12:35:44 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id DC588714209 for <marshallchristopher@example.com>; Mon, 1 Oct 2007 05:35:23 -0700 (PDT) Message-ID: <21913704.1191242123846.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 05:35:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Created: (CAMEL-163) avoid Cache.CONSUMER for Spring JMS as by default it is not transactional for consuming and sending MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org avoid Cache.CONSUMER for Spring JMS as by default it is not transactional for consuming and sending --------------------------------------------------------------------------------------------------- Key: CAMEL-163 URL: https://issues.apache.org/activemq/browse/CAMEL-163 Project: Apache Camel Issue Type: Improvement Reporter: James Strachan Assignee: James Strachan Fix For: 1.2.0 See: http://opensource.atlassian.com/projects/spring/browse/SPR-3890 for details. No idea if'/when this will be fixed; so lets move to the less efficient CACHE_CONNECTION for now -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 12:55:53 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 26335 invoked from network); 1 Oct 2007 12:55:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 12:55:52 -0000 Received: (qmail 69220 invoked by uid 500); 1 Oct 2007 12:55:41 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 69202 invoked by uid 500); 1 Oct 2007 12:55:41 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 69193 invoked by uid 99); 1 Oct 2007 12:55:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 05:55:41 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 12:55:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2CED671420E for <marshallchristopher@example.com>; Mon, 1 Oct 2007 05:55:23 -0700 (PDT) Message-ID: <22198049.1191243323180.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 05:55:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-163) avoid Cache.CONSUMER for Spring JMS as by default it is not transactional for consuming and sending In-Reply-To: <21913704.1191242123846.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-163. ---------------------------------- Resolution: Fixed Patch applied > avoid Cache.CONSUMER for Spring JMS as by default it is not transactional for consuming and sending > --------------------------------------------------------------------------------------------------- > > Key: CAMEL-163 > URL: https://issues.apache.org/activemq/browse/CAMEL-163 > Project: Apache Camel > Issue Type: Improvement > Reporter: James Strachan > Assignee: James Strachan > Fix For: 1.2.0 > > > See: http://opensource.atlassian.com/projects/spring/browse/SPR-3890 for details. No idea if'/when this will be fixed; so lets move to the less efficient CACHE_CONNECTION for now -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 14:08:16 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 61267 invoked from network); 1 Oct 2007 14:08:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 14:08:13 -0000 Received: (qmail 19820 invoked by uid 500); 1 Oct 2007 14:08:03 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 19805 invoked by uid 500); 1 Oct 2007 14:08:03 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 19796 invoked by uid 99); 1 Oct 2007 14:08:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 07:08:03 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 14:08:13 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2F96271420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 07:07:23 -0700 (PDT) Message-ID: <21934932.1191247643186.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 07:07:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Commented: (CAMEL-45) more example programs required! In-Reply-To: <32698740.1181759553023.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40229 ] James Strachan commented on CAMEL-45: ------------------------------------- Patch applied - though it needs documentation - could you edit this page please to add a link to the CXF example? http://activemq.apache.org/camel/examples.html I get this log when I try and run it - is that expected?... Hello there jstrachan 01-Oct-2007 15:02:13 org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run INFO: run the incoming message in the threadpool 01-Oct-2007 15:02:13 org.apache.camel.example.cxf.GreeterImpl pingMe INFO: Executing operation pingMe, throwing PingMeFault exception, message = hello Executing operation pingMe, throwing PingMeFault exception 01-Oct-2007 15:02:13 org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFO: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: PingMeFault raised by marshallchristopher@example.com(AbstractInvoker.java:101) at org.apache.cxf.jaxws.JAXWSMethodInvoker.createFault(JAXWSMethodInvoker.java:76) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:90) at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:100) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:63) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73) at org.apache.cxf.transport.jms.JMSDestination.incoming(JMSDestination.java:200) at org.apache.cxf.transport.jms.JMSDestination$JMSExecutor.run(JMSDestination.java:331) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: org.apache.hello_world_soap_http.PingMeFault: PingMeFault raised by marshallchristopher@example.com(GreeterImpl.java:69) 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.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:107) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:77) ... 12 more 01-Oct-2007 15:02:13 org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFO: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: PingMeFault raised by marshallchristopher@example.com(CamelInvoker.java:171) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:268) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:224) at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:726) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: org.apache.hello_world_soap_http.PingMeFault: PingMeFault raised by marshallchristopher@example.com(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.cxf.interceptor.ClientFaultConverter.processFaultDetail(ClientFaultConverter.java:125) at org.apache.cxf.interceptor.ClientFaultConverter.handleMessage(ClientFaultConverter.java:68) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:90) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:179) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:56) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:395) at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:375) at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:256) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:119) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:180) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:200) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:186) at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:152) at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:136) at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44) at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73) at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136) at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44) at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:174) at org.apache.camel.component.cxf.CamelInvoker.invoke(CamelInvoker.java:161) ... 19 more Expected exception: PingMeFault has occurred: PingMeFault raised by server > more example programs required! > ------------------------------- > > Key: CAMEL-45 > URL: https://issues.apache.org/activemq/browse/CAMEL-45 > Project: Apache Camel > Issue Type: New Feature > Components: examples > Reporter: James Strachan > Fix For: 1.2.0 > > Attachments: cxf-example.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 14:11:44 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 62789 invoked from network); 1 Oct 2007 14:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 14:11:43 -0000 Received: (qmail 26133 invoked by uid 500); 1 Oct 2007 14:11:33 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 26116 invoked by uid 500); 1 Oct 2007 14:11:33 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 26107 invoked by uid 99); 1 Oct 2007 14:11:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 07:11:33 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 14:11:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 06042714210 for <marshallchristopher@example.com>; Mon, 1 Oct 2007 07:11:23 -0700 (PDT) Message-ID: <7338578.1191247883021.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 07:11:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-160) TryProcessor does not process finally if no catch defined In-Reply-To: <31562010.1190850623122.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-160. ---------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 patch applied with huge thanks > TryProcessor does not process finally if no catch defined > --------------------------------------------------------- > > Key: CAMEL-160 > URL: https://issues.apache.org/activemq/browse/CAMEL-160 > Project: Apache Camel > Issue Type: Bug > Reporter: Nicky Sandhu > Assignee: James Strachan > Fix For: 1.2.0 > > Attachments: patch.txt > > > try{}finally{} pattern does not work. There is also the problem (see test) of TryType getting lost ( a fluent API issue). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 14:33:29 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 68838 invoked from network); 1 Oct 2007 14:33:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 14:33:29 -0000 Received: (qmail 69770 invoked by uid 500); 1 Oct 2007 14:33:19 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 69721 invoked by uid 500); 1 Oct 2007 14:33:18 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 69712 invoked by uid 99); 1 Oct 2007 14:33:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 07:33:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 14:33:18 +0000 Received: by wr-out-0506.google.com with SMTP id c47so1827104wra for <marshallchristopher@example.com>; Mon, 01 Oct 2007 07:32:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=IveUv4NvDLs2A1SY5BxG10vdcQMuInqKEzyf/Yyatfg=; b=U40p2ywiZJY6MpVQCpRvtSbKeshvUT25dDFSDmV9LBQ1A5ia3gxPX1niDbbjSD4Wd29fqqDmpq/ZYT9Rf7waPbkC4JNTJTAYBGjMa542hX1AZLotyNs/30XFySjtUu5pMGCuxsaYa9uBJaEjVqYVj9cGQX3q3wY+i6pH2obFilk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=txyzwArwRpfXxjYVTWFua8KW8Ci39QOJohhofLeFNtcDem7h4RCyDf9RLPR8gs1gatlUGYWtmuF9sevUbybYLbWnCuMAesJb4kVt6JTPCbg0LHsxGCdFSy673Kh/10ivbFRlIPfCC3f+oE19tyDOBLymzyI3IcmPLzEJdBkKNPc= Received: by 83.161.120.155 with SMTP id o14mr622735agb.1191249167267; Mon, 01 Oct 2007 07:32:47 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 1 Oct 2007 07:32:47 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Mon, 1 Oct 2007 15:32:47 +0100 From: "James Strachan" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: musings on Source/Sink integration (e.g. serialization v JAXB2 v SOAP encoding etc) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I've been pondering about the cleanest way to add support for multiple message formats into Camel. e.g. supporting various Sources (input formats) or Sinks (output formats) such as serialization, JAXB2, Jibx, IIOP, Artix DS/C24 encoding or custom wire formats and so forth. I was wondering if we should make them explicit in the DSL or XML such as // parse as JAXB2 via XML and call a bean from("file://foo/bar"). source("jaxb"). to("ref:someBean"); or // parse Java serialization and write out as XML from("file://foo/bar"). source("serialization"). sink("jaxb"). to("file://xyz"); I was even wondering if we should use MIME Content-Type headers rather like HTTP does; and have Source/Sinks auto-defaulted to those. e.g. if a MIME type is "application/xml" then we'd auto-default to JAXB2 instead of Java Serialization etc. Am a tad worried about putting in too much magic; plus using a Source/Sink does seem kinda optional stuff, so was thinking we'd just leave it as an optional feature in the DSL; you can explicitly use them when you like? Though I did wonder if it might make sense to kinda define default Source / Sink options; as often folks just wanna use JAXB2 everywhere unless overridden etc. e.g. source("jaxb"); // we'll marshall into and out of JAXB2 here by default... from("file://foo/bar").to("file://xyz"); Thoughts? -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com From camel-dev-marshallchristopher@example.com Mon Oct 01 14:40:15 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 70799 invoked from network); 1 Oct 2007 14:40:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 14:40:14 -0000 Received: (qmail 82599 invoked by uid 500); 1 Oct 2007 14:40:04 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 82553 invoked by uid 500); 1 Oct 2007 14:40:04 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 82544 invoked by uid 99); 1 Oct 2007 14:40:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 07:40:04 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 14:40:13 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id D6A3771420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 07:39:22 -0700 (PDT) Message-ID: <22523714.1191249562876.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 07:39:22 -0700 (PDT) From: "Willem Jiang (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Commented: (CAMEL-45) more example programs required! In-Reply-To: <32698740.1181759553023.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40231 ] Willem Jiang commented on CAMEL-45: ----------------------------------- Yes, the exception is expected. > more example programs required! > ------------------------------- > > Key: CAMEL-45 > URL: https://issues.apache.org/activemq/browse/CAMEL-45 > Project: Apache Camel > Issue Type: New Feature > Components: examples > Reporter: James Strachan > Fix For: 1.2.0 > > Attachments: cxf-example.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 15:08:14 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 90438 invoked from network); 1 Oct 2007 15:08:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:08:13 -0000 Received: (qmail 53210 invoked by uid 500); 1 Oct 2007 15:08:03 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 53195 invoked by uid 500); 1 Oct 2007 15:08:03 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 53186 invoked by uid 99); 1 Oct 2007 15:08:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:08:03 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:08:13 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 065E371420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 08:07:23 -0700 (PDT) Message-ID: <16474942.1191251243022.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 08:07:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-147) velocity component for easy integration with velocity templating In-Reply-To: <22514166.1189762702585.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-147. ---------------------------------- Resolution: Fixed See the documentation: http://cwiki.apache.org/CAMEL/velocity.html > velocity component for easy integration with velocity templating > ---------------------------------------------------------------- > > Key: CAMEL-147 > URL: https://issues.apache.org/activemq/browse/CAMEL-147 > Project: Apache Camel > Issue Type: New Feature > Reporter: James Strachan > Assignee: James Strachan > Fix For: 1.2.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 15:15:35 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 3877 invoked from network); 1 Oct 2007 15:15:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:15:33 -0000 Received: (qmail 68153 invoked by uid 500); 1 Oct 2007 15:15:23 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 68140 invoked by uid 500); 1 Oct 2007 15:15:23 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 68131 invoked by uid 99); 1 Oct 2007 15:15:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:15:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:15:22 +0000 Received: by wx-out-0506.google.com with SMTP id i30so3419809wxd for <marshallchristopher@example.com>; Mon, 01 Oct 2007 08:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=CnJ4ykpgz9NKzKjS5AWnjt9L9r7hs3oqQMFCwCuChWg=; b=Hh3DTBTOdLmRddjuTeu90zCbYI6FCRUgouImZ9aZkGCRwsBcT3GYVsR8heLCxKtOZgv0qMNyUZBShjTL1duMvG+onIiFimA1DysnaHrGOX+r9TN/lr4Yhbv30/6LBNlgO8IgmV/P1rywV8lpcJFmLTYA5MWKX6pmv9neZgzsCnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ChfalfF2Pb5QAS9llwrEfKZj5G0Z8Qdv3FzdwcPe+6P3TqDpuEBQj1YzJT+7/HtxW7SLI5iixWvn6q67bN8g722O02qo7VCor+azh7ZMHH/gL1rNdF/FYqwtG2z4Fy+W/3OeiwRf152WKGoo0IthJ2aTGdqEs1TyjPWe938AiDo= Received: by 83.161.120.155 with SMTP id v3mr2189398agb.1191251697173; Mon, 01 Oct 2007 08:14:57 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 1 Oct 2007 08:14:57 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Mon, 1 Oct 2007 16:14:57 +0100 From: "James Strachan" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [HeadsUp] templating with Camel via Velocity and StringTemplate... MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I've finally managed to finish documenting the templating support in Camel... http://cwiki.apache.org/CAMEL/templating.html such as via velocity http://cwiki.apache.org/CAMEL/velocity.html or StringTemplate http://cwiki.apache.org/CAMEL/stringtemplate.html which is very handy for testing distributed systems and stubbing out external services. -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com From camel-dev-marshallchristopher@example.com Mon Oct 01 15:15:44 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 3969 invoked from network); 1 Oct 2007 15:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:15:43 -0000 Received: (qmail 68283 invoked by uid 500); 1 Oct 2007 15:15:33 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 68234 invoked by uid 500); 1 Oct 2007 15:15:33 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 68225 invoked by uid 99); 1 Oct 2007 15:15:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:15:33 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:15:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id E5FC571420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 08:15:22 -0700 (PDT) Message-ID: <10061376.1191251722938.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 08:15:22 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-148) add support for StringTemplate as an endpoint In-Reply-To: <23327231.1189835423196.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-148. ---------------------------------- Resolution: Fixed See the docs: http://cwiki.apache.org/CAMEL/stringtemplate.html > add support for StringTemplate as an endpoint > --------------------------------------------- > > Key: CAMEL-148 > URL: https://issues.apache.org/activemq/browse/CAMEL-148 > Project: Apache Camel > Issue Type: New Feature > Reporter: James Strachan > Assignee: James Strachan > Fix For: 1.2.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 15:19:44 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 6729 invoked from network); 1 Oct 2007 15:19:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:19:43 -0000 Received: (qmail 75760 invoked by uid 500); 1 Oct 2007 15:19:33 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 75745 invoked by uid 500); 1 Oct 2007 15:19:33 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 75736 invoked by uid 99); 1 Oct 2007 15:19:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:19:33 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:19:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 0532F71420F for <marshallchristopher@example.com>; Mon, 1 Oct 2007 08:19:23 -0700 (PDT) Message-ID: <28042920.1191251963018.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 08:19:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-161) URL link broken in org.apache.camel.Processor API doc In-Reply-To: <25298007.1190952382801.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-161. ---------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 Great catch thanks! Have patched trunk; the nightly build should update the javadoc tomorrow. For now the right link is: http://activemq.apache.org/camel/message-translator.html > URL link broken in org.apache.camel.Processor API doc > ----------------------------------------------------- > > Key: CAMEL-161 > URL: https://issues.apache.org/activemq/browse/CAMEL-161 > Project: Apache Camel > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Bozhong Lin > Assignee: James Strachan > Priority: Trivial > Fix For: 1.2.0 > > > "Message Transformer" link is broken. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 15:23:44 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 13084 invoked from network); 1 Oct 2007 15:23:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:23:43 -0000 Received: (qmail 81819 invoked by uid 500); 1 Oct 2007 15:23:33 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 81774 invoked by uid 500); 1 Oct 2007 15:23:33 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 81765 invoked by uid 99); 1 Oct 2007 15:23:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:23:33 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:23:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1E40C714218 for <marshallchristopher@example.com>; Mon, 1 Oct 2007 08:23:23 -0700 (PDT) Message-ID: <19970940.1191252203119.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 08:23:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-128) Jdbc component In-Reply-To: <33138299.1188343102808.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-128. ---------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 Documentation is here: http://cwiki.apache.org/CAMEL/jdbc.html > Jdbc component > -------------- > > Key: CAMEL-128 > URL: https://issues.apache.org/activemq/browse/CAMEL-128 > Project: Apache Camel > Issue Type: New Feature > Affects Versions: 1.1.0 > Reporter: Nicky Sandhu > Assignee: James Strachan > Fix For: 1.2.0 > > Attachments: camel-jdbc.zip > > > Adds a JDBC component -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 15:28:20 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 19299 invoked from network); 1 Oct 2007 15:28:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:28:19 -0000 Received: (qmail 90152 invoked by uid 500); 1 Oct 2007 15:28:04 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 90132 invoked by uid 500); 1 Oct 2007 15:28:04 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 90123 invoked by uid 99); 1 Oct 2007 15:28:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:28:04 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:28:13 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 8073871420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 08:27:23 -0700 (PDT) Message-ID: <7577654.1191252443522.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 08:27:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-1) provide a base ExchangeRuntimeException which can provide a useful base class to exceptions raised when processing an exchange MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-1. -------------------------------- Resolution: Fixed see http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/RuntimeExchangeException.html > provide a base ExchangeRuntimeException which can provide a useful base class to exceptions raised when processing an exchange > ------------------------------------------------------------------------------------------------------------------------------ > > Key: CAMEL-1 > URL: https://issues.apache.org/activemq/browse/CAMEL-1 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Reporter: James Strachan > Priority: Trivial > Fix For: 1.2.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 15:45:47 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 53613 invoked from network); 1 Oct 2007 15:45:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 15:45:44 -0000 Received: (qmail 29446 invoked by uid 500); 1 Oct 2007 15:45:34 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 29433 invoked by uid 500); 1 Oct 2007 15:45:34 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 29418 invoked by uid 99); 1 Oct 2007 15:45:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:45:34 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:45:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 7565071420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 08:45:23 -0700 (PDT) Message-ID: <31620174.1191253523476.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 08:45:23 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-139) add an iBatis component for working with named SQL queries In-Reply-To: <26701720.1189194982199.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-139. ---------------------------------- Resolution: Fixed See the docs here: http://cwiki.apache.org/CAMEL/ibatis.html > add an iBatis component for working with named SQL queries > ---------------------------------------------------------- > > Key: CAMEL-139 > URL: https://issues.apache.org/activemq/browse/CAMEL-139 > Project: Apache Camel > Issue Type: New Feature > Reporter: James Strachan > Assignee: James Strachan > Fix For: 1.2.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 16:16:15 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 90540 invoked from network); 1 Oct 2007 16:16:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 16:16:13 -0000 Received: (qmail 77734 invoked by uid 500); 1 Oct 2007 16:16:03 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 77705 invoked by uid 500); 1 Oct 2007 16:16:03 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 77696 invoked by uid 99); 1 Oct 2007 16:16:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 09:16:03 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 16:16:12 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id DF89071420A for <marshallchristopher@example.com>; Mon, 1 Oct 2007 09:15:22 -0700 (PDT) Message-ID: <9164025.1191255322912.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 09:15:22 -0700 (PDT) From: "James Strachan (JIRA)" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: [jira] Resolved: (CAMEL-140) XsltBuilder instance not threadsafe and can't be used more then once. In-Reply-To: <28964463.1189433842241.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Strachan resolved CAMEL-140. ---------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 Great catch! Many thanks Dejan! I've patched this to create a stack-local result instead > XsltBuilder instance not threadsafe and can't be used more then once. > --------------------------------------------------------------------- > > Key: CAMEL-140 > URL: https://issues.apache.org/activemq/browse/CAMEL-140 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 1.1.0 > Reporter: Dejan Predovic > Fix For: 1.2.0 > > > XsltBuilder uses a ResultHandler instance variable to hold the result of the transformation. That makes it thread unsafe and at the same time, as it's never cleared/reset, it can't be used more then once. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From camel-dev-marshallchristopher@example.com Mon Oct 01 16:51:39 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 39073 invoked from network); 1 Oct 2007 16:51:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 16:51:38 -0000 Received: (qmail 28071 invoked by uid 500); 1 Oct 2007 16:51:21 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 28054 invoked by uid 500); 1 Oct 2007 16:51:21 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 28041 invoked by uid 99); 1 Oct 2007 16:51:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 09:51:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 16:51:22 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <marshallchristopher@example.com>) id 1IcOU1-0000cB-Lx for marshallchristopher@example.com; Mon, 01 Oct 2007 09:51:01 -0700 Message-ID: <marshallchristopher@example.com> Date: Mon, 1 Oct 2007 09:51:01 -0700 (PDT) From: Nicky Sandhu <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: Callback on Exchange for closing out streams, result set cursors MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: marshallchristopher@example.com X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, I see a number of commits based on async callback discussion (http://www.nabble.com/Asynchronous-Exchange-Processing-t4313758s22882.html). I am wondering if it applies to this usecase as well. For stream oriented or cursor oriented message bodies it is necessary to have a callback so that cleanup such as closing out the stream/resource/cursor can be done...else there would be leaks. So if a process does something like process(new Processor(){... ResourceStream stream; process(Exchange ex){ setBody(stream = new ResourceStream()); ..... } onComplete(){ closeStream(); } onFailure(){ closeStream(); } }); Any chance this kinda support is going to be able to make it to 1.2 release ? -- View this message in context: http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a12982891 Sent from the Camel - Development mailing list marshallchristopher@example.com. From camel-dev-marshallchristopher@example.com Mon Oct 01 21:15:57 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 65564 invoked from network); 1 Oct 2007 21:15:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2007 21:15:56 -0000 Received: (qmail 4313 invoked by uid 500); 1 Oct 2007 21:15:46 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 4289 invoked by uid 500); 1 Oct 2007 21:15:46 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 4279 invoked by uid 99); 1 Oct 2007 21:15:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 14:15:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wa-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 21:15:45 +0000 Received: by wa-out-1112.google.com with SMTP id k22so4424596waf for <marshallchristopher@example.com>; Mon, 01 Oct 2007 14:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=lClqiVdSDj+nZC1N6+VupeX2Otg+uulpRw3DaD8uVNM=; b=ItETYnWVV34GeZolUlzR7TixRcvE4P8g+gqcHdyxLsmU5hN4nVaOEcYFxvhi4Rb/swrf6Ta7PvvN88t43WW/v4ViZ+hsan7O1llXuw9FYrDjnmvX4QumIOw4olfyPLkWNbf1E8L8ZmaYwq0R5azTsfWZ3sZhDswt/oJBBNopI7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kWSkG7V+J211vD5dzLBU65QPJ7LrslQCSilwJLcmNQdtPgkbryR7mrw6qONkl5OwAWLkDuSQDl8dshqBEMhUcJ0L153ZFag5qOpHEz0lCFo0ghS+u5kjD9KZXo7zcfx9lt55Ryt5e9zOEK6NLlarAzo0oatvJwBkAKkZjf1LJkc= Received: by 83.161.120.155 with SMTP id e1mr1925902wab.1191273307737; Mon, 01 Oct 2007 14:15:07 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 1 Oct 2007 14:15:07 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Mon, 1 Oct 2007 17:15:07 -0400 From: "Hiram Chirino" <marshallchristopher@example.com> Sender: marshallchristopher@example.com To: marshallchristopher@example.com Subject: Re: Callback on Exchange for closing out streams, result set cursors In-Reply-To: <marshallchristopher@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <marshallchristopher@example.com> X-Google-Sender-Auth: 57a2ff7069de15fd X-Virus-Checked: Checked by ClamAV on apache.org Hi Nicky, In your use case, it looks like you want to write a processor that attaches a resource to the exchange that should not be closed by the time the process() call finishes.. It should get closed when the exchange completes. Is this correct? Regards, Hiram On 10/1/07, Nicky Sandhu <marshallchristopher@example.com> wrote: > > Hi folks, > I see a number of commits based on async callback discussion > (http://www.nabble.com/Asynchronous-Exchange-Processing-t4313758s22882.html). > I am wondering if it applies to this usecase as well. > For stream oriented or cursor oriented message bodies it is necessary to > have a callback so that cleanup such as closing out the > stream/resource/cursor can be done...else there would be leaks. > So if a process does something like > process(new Processor(){... > ResourceStream stream; > process(Exchange ex){ > setBody(stream = new ResourceStream()); > ..... > } > onComplete(){ > closeStream(); > } > onFailure(){ > closeStream(); > } > }); > > Any chance this kinda support is going to be able to make it to 1.2 > release ? > -- > View this message in context: http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a12982891 > Sent from the Camel - Development mailing list marshallchristopher@example.com. > > -- Regards, Hiram Blog: http://hiramchirino.com From camel-dev-marshallchristopher@example.com Tue Oct 02 04:23:43 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 86406 invoked from network); 2 Oct 2007 04:23:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Oct 2007 04:23:42 -0000 Received: (qmail 9438 invoked by uid 500); 2 Oct 2007 04:23:32 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 9391 invoked by uid 500); 2 Oct 2007 04:23:32 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 9382 invoked by uid 99); 2 Oct 2007 04:23:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 21:23:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 04:23:32 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <marshallchristopher@example.com>) id 1IcZHr-0001Wo-EN for marshallchristopher@example.com; Mon, 01 Oct 2007 21:23:11 -0700 Message-ID: <marshallchristopher@example.com> Date: Mon, 1 Oct 2007 21:23:11 -0700 (PDT) From: Nicky Sandhu <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: Re: Callback on Exchange for closing out streams, result set cursors In-Reply-To: <marshallchristopher@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: marshallchristopher@example.com References: <marshallchristopher@example.com> <marshallchristopher@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Hiram, You have it right. I want to close it when the exchange completes. Is there a way to signal this? a callback perhaps? For example in a producer is process(Exchange ex) method: to be able to either commit or rollback depending upon whether the exchange exception is null or not after the routing rules for that exchange have been processed. Hiram Chirino wrote: > > Hi Nicky, > > In your use case, it looks like you want to write a processor that > attaches a resource to the exchange that should not be closed by the > time the process() call finishes.. It should get closed when the > exchange completes. Is this correct? > > Regards, > Hiram > > On 10/1/07, Nicky Sandhu <marshallchristopher@example.com> wrote: >> >> Hi folks, >> I see a number of commits based on async callback discussion >> (http://www.nabble.com/Asynchronous-Exchange-Processing-t4313758s22882.html). >> I am wondering if it applies to this usecase as well. >> For stream oriented or cursor oriented message bodies it is necessary to >> have a callback so that cleanup such as closing out the >> stream/resource/cursor can be done...else there would be leaks. >> So if a process does something like >> process(new Processor(){... >> ResourceStream stream; >> process(Exchange ex){ >> setBody(stream = new ResourceStream()); >> ..... >> } >> onComplete(){ >> closeStream(); >> } >> onFailure(){ >> closeStream(); >> } >> }); >> >> Any chance this kinda support is going to be able to make it to 1.2 >> release ? >> -- >> View this message in context: >> http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a12982891 >> Sent from the Camel - Development mailing list marshallchristopher@example.com. >> >> > > > -- > Regards, > Hiram > > Blog: http://hiramchirino.com > > -- View this message in context: http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a12992505 Sent from the Camel - Development mailing list marshallchristopher@example.com. From camel-dev-marshallchristopher@example.com Tue Oct 02 06:49:51 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 34161 invoked from network); 2 Oct 2007 06:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Oct 2007 06:49:51 -0000 Received: (qmail 1920 invoked by uid 500); 2 Oct 2007 06:49:40 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 1903 invoked by uid 500); 2 Oct 2007 06:49:40 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 1893 invoked by uid 99); 2 Oct 2007 06:49:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 23:49:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fk-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 06:49:39 +0000 Received: by fk-out-0910.google.com with SMTP id 18so4101755fkq for <marshallchristopher@example.com>; Mon, 01 Oct 2007 23:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=jLyd4pemstio58jKlOzh86q7Flbn5Bnp4ZGqzMlIGqI=; b=Uwfn30OWJxN9N0eQzKE5Rbau8BnfXB34Y7+ixUxJyDu1IOZOyAOaFsT+BzieT4SmNAcskP4yx6/7nUrObaICSKDxLGZEcmLItHcGF7oMEXNtPyq2Oh+20PVsy08Tgz9dgXVUC6lVikVupiS5ijSKLgrwzj0L8OUESkDiMih30MQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oesnAqSxT82RjDK6C5GJb4GwmC7ML2QmZv7TefWBlu/PXDKChGpJ4TRTev60AjwrRM40q83YhYE9e6Ptnggjj45W1uJbhpzUTQ5Ij1pJkw8WobNtReNS+vYXzHOifnYRsJZrmwvYmmU4RbqOpiLu3ErDDrJHdXAmGLU0zd1YJ+E= Received: by 83.161.120.155 with SMTP id g12mr18322850bue.1191307758101; Mon, 01 Oct 2007 23:49:18 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 1 Oct 2007 23:49:18 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Tue, 2 Oct 2007 08:49:18 +0200 From: "Guillaume Nodet" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: Re: Callback on Exchange for closing out streams, result set cursors In-Reply-To: <marshallchristopher@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> X-Virus-Checked: Checked by ClamAV on apache.org For streams, one way would be to wrap the stream and do some processing when the stream is actually closed. In a general case, James had introduced the concept of UnitOfWork on the exchange, but the implementation is not finished. It seems as if you're looking for the concept of the done status in JBI. On 10/2/07, Nicky Sandhu <marshallchristopher@example.com> wrote: > > Hi Hiram, > You have it right. I want to close it when the exchange completes. Is there > a way to signal this? a callback perhaps? > For example in a producer is process(Exchange ex) method: to be able to > either commit or rollback depending upon whether the exchange exception is > null or not after the routing rules for that exchange have been processed. > > > Hiram Chirino wrote: > > > > Hi Nicky, > > > > In your use case, it looks like you want to write a processor that > > attaches a resource to the exchange that should not be closed by the > > time the process() call finishes.. It should get closed when the > > exchange completes. Is this correct? > > > > Regards, > > Hiram > > > > On 10/1/07, Nicky Sandhu <marshallchristopher@example.com> wrote: > >> > >> Hi folks, > >> I see a number of commits based on async callback discussion > >> (http://www.nabble.com/Asynchronous-Exchange-Processing-t4313758s22882.html). > >> I am wondering if it applies to this usecase as well. > >> For stream oriented or cursor oriented message bodies it is necessary to > >> have a callback so that cleanup such as closing out the > >> stream/resource/cursor can be done...else there would be leaks. > >> So if a process does something like > >> process(new Processor(){... > >> ResourceStream stream; > >> process(Exchange ex){ > >> setBody(stream = new ResourceStream()); > >> ..... > >> } > >> onComplete(){ > >> closeStream(); > >> } > >> onFailure(){ > >> closeStream(); > >> } > >> }); > >> > >> Any chance this kinda support is going to be able to make it to 1.2 > >> release ? > >> -- > >> View this message in context: > >> http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a12982891 > >> Sent from the Camel - Development mailing list marshallchristopher@example.com. > >> > >> > > > > > > -- > > Regards, > > Hiram > > > > Blog: http://hiramchirino.com > > > > > > -- > View this message in context: http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a12992505 > Sent from the Camel - Development mailing list marshallchristopher@example.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ From camel-dev-marshallchristopher@example.com Tue Oct 02 15:41:11 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 90313 invoked from network); 2 Oct 2007 15:41:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Oct 2007 15:41:10 -0000 Received: (qmail 62240 invoked by uid 500); 2 Oct 2007 15:41:00 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 62193 invoked by uid 500); 2 Oct 2007 15:41:00 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 62184 invoked by uid 99); 2 Oct 2007 15:41:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 08:41:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 15:41:00 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <marshallchristopher@example.com>) id 1IcjrU-000216-Dr for marshallchristopher@example.com; Tue, 02 Oct 2007 08:40:40 -0700 Message-ID: <marshallchristopher@example.com> Date: Tue, 2 Oct 2007 08:40:40 -0700 (PDT) From: Nicky Sandhu <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: Re: Callback on Exchange for closing out streams, result set cursors In-Reply-To: <marshallchristopher@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: marshallchristopher@example.com References: <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes, wrapping is an option but the code creating and closing the resource are probably not colocated. I just looked at the UnitOfWork and it seems to be right on. It seems to be related to the AsyncCallback concepts. The done status on an exchange would have to be supported at the Exchange level to pull this off. So I guess I'll wait for James to finish this off. gnodet wrote: > > For streams, one way would be to wrap the stream and do some > processing when the stream is actually closed. In a general case, > James had introduced the concept of UnitOfWork on the exchange, but > the implementation is not finished. It seems as if you're looking > for the concept of the done status in JBI. > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Callback-on-Exchange-for-closing-out-streams%2C-result-set-cursors-tf4549498s22882.html#a13001281 Sent from the Camel - Development mailing list marshallchristopher@example.com. From camel-dev-marshallchristopher@example.com Wed Oct 03 02:50:03 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 39699 invoked from network); 3 Oct 2007 02:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Oct 2007 02:50:02 -0000 Received: (qmail 75508 invoked by uid 500); 3 Oct 2007 02:49:52 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 75491 invoked by uid 500); 3 Oct 2007 02:49:52 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 75480 invoked by uid 99); 3 Oct 2007 02:49:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 19:49:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 02:49:54 +0000 Received: by py-out-1112.google.com with SMTP id p76so8222846pyb for <marshallchristopher@example.com>; Tue, 02 Oct 2007 19:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=wbMNvMhEt6AlQUIE0FXLne0LeDgscIUfXL5sxb3X5L8=; b=QYRscdz9U0yFpmnfiCu6Bid9H5YNpMpKEBHWfXAOK8/uFRVoGLw5mCQ1KTySO0MLjGHXTAHMt49o84pt2AfaR1028LxG2wTRhsgjorxaZG+JLtwou0dAC0IXV7+yt/LLrXjJUhBEqUTP6dPfe3w+I+XRVcKpnbJJ+pcrXlIzE0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=R+rUaiMOOYHSsunoHU6a4SyAJRmHWJxUELfuntizgYkT6smDHRIlcYylXBsrqDwlkYnML275pHzdqNa8tKS9/uKoIUzDytsYB7fkyqEmqTtOO7LTYmh0+UCDpLLbdOtPB9vIcfV5JDGHxIYu4Ihe/4c5AV75yhUNy7lzRF4nTu8= Received: by 83.161.120.155 with SMTP id f14mr3564244qbm.1191379755509; Tue, 02 Oct 2007 19:49:15 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 2 Oct 2007 19:49:15 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Tue, 2 Oct 2007 22:49:15 -0400 From: "William Tam" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: CamelTemplate.extractResultBody question MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org In org.apache.camel.CamelTemplate, shouldn't it just return null if result.getOut().getBody() is null? Why does it return the IN body as a result? protected Object extractResultBody(E result) { Object answer = null; if (result != null) { answer = result.getOut().getBody(); if (answer == null) { answer = result.getIn().getBody(); } } Regards, William From camel-dev-marshallchristopher@example.com Wed Oct 03 04:39:10 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 59517 invoked from network); 3 Oct 2007 04:39:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Oct 2007 04:39:10 -0000 Received: (qmail 41855 invoked by uid 500); 3 Oct 2007 04:38:59 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 41826 invoked by uid 500); 3 Oct 2007 04:38:59 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 41817 invoked by uid 99); 3 Oct 2007 04:38:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 21:38:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 04:39:01 +0000 Received: by py-out-1112.google.com with SMTP id p76so8266388pyb for <marshallchristopher@example.com>; Tue, 02 Oct 2007 21:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=K5cEO3hXcz6mRfhkucwLC7aDXDX15M/MvemNi/vxSgU=; b=hnBV9x+cdIDJun1IV6cqfRrmXH9L3BMa9rAis5UXv2u5yvcXUlwZ8kLIuJOal6YAhYKB0g0eJik/Ax51dVtVxMkQR6+/3ZdZetIzSAN/wmyfhJfC8UedScStOzzwz7Ar5PIB6Avdf0uc2WGEix6A19imjHxZMFtbdPLfKsk8D7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=H6tY/Pm6pwSVa2O2ow0HKXEuB0jajfaHZn7eCEftpQNG+l4oaTBxSNCB4Y7AwiC6vrFCi0+4Ffn3tcUawo0iCXE9HN3XqDdqZqSEKYideOnhrVgYI5yiQO8ohdXrYt7CDWX8BB56gmLDHc+D8D1M7vQ42Ef5vgONseyxL6QGRL4= Received: by 83.161.120.155 with SMTP id b11mr185970qbr.1191386319858; Tue, 02 Oct 2007 21:38:39 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 2 Oct 2007 21:38:39 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Wed, 3 Oct 2007 00:38:39 -0400 From: "William Tam" <marshallchristopher@example.com> To: camel-dev <marshallchristopher@example.com> Subject: minor comment in testHttpGet() MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org In org.apache.camel.component.http.HttpPollingGetTest.testHttpGet(), I think the line template.sendBody("direct:start", null) is irrelevant and can be removed. Regards, William From camel-dev-marshallchristopher@example.com Wed Oct 03 15:29:51 2007 Return-Path: <camel-dev-marshallchristopher@example.com> Delivered-To: marshallchristopher@example.com Received: (qmail 14136 invoked from network); 3 Oct 2007 15:29:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Oct 2007 15:29:50 -0000 Received: (qmail 50005 invoked by uid 500); 3 Oct 2007 15:29:38 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 49978 invoked by uid 500); 3 Oct 2007 15:29:38 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <camel-dev.activemq.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 49949 invoked by uid 99); 3 Oct 2007 15:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 08:29:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 15:29:37 +0000 Received: by py-out-1112.google.com with SMTP id p76so8580091pyb for <marshallchristopher@example.com>; Wed, 03 Oct 2007 08:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HlwmhzpL7o09weEBswZOkg61Xbfiof+qoPWoLMmaD7E=; b=QV3sFiFT/bfQ3RuFowyBieHrZjY30Su4bZLhqfI1A+oDENZ5mdOH5ov0M85pBhScsYXz2UU0pldAhdZ602Cg+tfmLqc+hk/s9alDpFxA+6OwcDw5ENkr0k/tL+ONioH3HLuDwlZVLErcSTnJhgqDyQFCJaHBxEmJcSE8DX/jmB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hdhQ33WLyb7Cdn+3xqPndDUx6WM65eqKUY6mQhJH8iSGuHYsyqNpF4ZNywNcJkjyg07ablN9cN87q4u0wDgLVxWgXQWXHtCbaZiXzXASuv4JBb8vmdK+81+/LJOLOGM9bw7sXMIN/uWoJAL9LVFhWsdEXA6PwzV+yl6qehGXDFw= Received: by 83.161.120.155 with SMTP id a7mr7998309qbj.1191425354812; Wed, 03 Oct 2007 08:29:14 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 3 Oct 2007 08:29:14 -0700 (PDT) Message-ID: <marshallchristopher@example.com> Date: Wed, 3 Oct 2007 16:29:14 +0100 From: "James Strachan" <marshallchristopher@example.com> To: marshallchristopher@example.com Subject: Re: CamelTemplate.extractResultBody question In-Reply-To: <marshallchristopher@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <marshallchristopher@example.com> X-Virus-Checked: Checked by ClamAV on apache.org On 03/10/2007, William Tam <marshallchristopher@example.com> wrote: > In org.apache.camel.CamelTemplate, shouldn't it just return null if > result.getOut().getBody() is null? Why does it return the IN body as > a result? > >
{'source': 'Apache Software Foundation Public Mail Archives'}