From camel-user-returnaaron91@example.net Fri Aug 01 14:20:23 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 36169 invoked from network); 1 Aug 2008 14:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 14:20:23 -0000 Received: (qmail 66478 invoked by uid 500); 1 Aug 2008 14:20:22 -0000 Delivered-To: aaron91@example.net Received: (qmail 66388 invoked by uid 500); 1 Aug 2008 14:20:21 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 66377 invoked by uid 99); 1 Aug 2008 14:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:20:21 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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; Fri, 01 Aug 2008 14:19:25 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KOvTz-0001y3-V0 for aaron91@example.net; Fri, 01 Aug 2008 07:19:51 -0700 Message-ID: <aaron91@example.net> Date: Fri, 1 Aug 2008 07:19:51 -0700 (PDT) From: Bela <aaron91@example.net> To: aaron91@example.net Subject: Mail Endpoint: New URI attribute to send HTML body MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net X-Virus-Checked: Checked by ClamAV on apache.org I propose a new attribute for mail, called htmlBody to send html mails ("pretty emails" in manager talk). Camel sends only text messages at this moment even when you send attachments. The default is false. I opened a JIRA ticket with patches attached: https://issues.apache.org/activemq/browse/CAMEL-778 I tested it but had no time (and knowledge) to create unit tests yet. I'll do it later ( scouts honor 8-) ). Bela -- View this message in context: http://www.nabble.com/Mail-Endpoint%3A-New-URI-attribute-to-send-HTML-body-tp18775365s22882p18775365.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Fri Aug 01 21:24:16 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 8976 invoked from network); 1 Aug 2008 21:24:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 21:24:16 -0000 Received: (qmail 95587 invoked by uid 500); 1 Aug 2008 21:24:15 -0000 Delivered-To: aaron91@example.net Received: (qmail 95560 invoked by uid 500); 1 Aug 2008 21:24:15 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 95549 invoked by uid 99); 1 Aug 2008 21:24:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 14:24:15 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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; Fri, 01 Aug 2008 21:23:20 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KP26E-0002OV-JS for aaron91@example.net; Fri, 01 Aug 2008 14:23:46 -0700 Message-ID: <aaron91@example.net> Date: Fri, 1 Aug 2008 14:23:46 -0700 (PDT) From: Bela Vizy <aaron91@example.net> To: aaron91@example.net Subject: RE: SftpProducer bug In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net References: <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Updated CAMEL-764 Claus Ibsen wrote: > > Thanks a lot. You can report in JIRA at CAMEL-764 then I am sure to spot > it. > -- View this message in context: http://www.nabble.com/SftpProducer-bug-tp18640519s22882p18782839.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Sun Aug 03 05:08:47 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 55484 invoked from network); 3 Aug 2008 05:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2008 05:08:46 -0000 Received: (qmail 29277 invoked by uid 500); 3 Aug 2008 05:08:45 -0000 Delivered-To: aaron91@example.net Received: (qmail 29255 invoked by uid 500); 3 Aug 2008 05:08:45 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 29244 invoked by uid 99); 3 Aug 2008 05:08:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2008 22:08:45 -0700 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=SPF_PASS,WEIRD_PORT,WHOIS_CONTACTPRIV X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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; Sun, 03 Aug 2008 05:07:49 +0000 Received: by fk-out-0910.google.com with SMTP id z22so1748361fkz.6 for <aaron91@example.net>; Sat, 02 Aug 2008 22:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=OA7HrsQXZGRLNMsAltT1Aw7hIFNa51GpPf+eAp+2k58=; b=nkCGOYXyWE+cTghgsvRiA/I73pWC6zsqgVi4GWbTDsfX5iCuNzXGiNKFBNuQv9TEHV QBG+Q+7VopBlG+oZbfnXzF6AqtravUyl2di4NRQLqPRObMrK/25ko6O6uKAWfhExOSAC i+OL4OSK1nD1WEl7wNBKDsW1w4VMOAXrlswx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Y7UPrSHMHAjoFZw3c8rLpUgi592yFyI3avVo7844mQQrAzYOxd5x3pBzpkEBO9CMgp yQmf9g4kahBHJkdy+eaY47Bv43lYhI1+qLJ51kG9Rh/6mC2xyqdkLKy6wksPoSARP0aT GjR5tp8kpNT0O7BIDctM1Tv2CBTZlEngBcqU8= Received: by 83.161.120.155 with SMTP id q15mr272589fap.83.1217740076726; Sat, 02 Aug 2008 22:07:56 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Sat, 2 Aug 2008 22:07:56 -0700 (PDT) Message-ID: <aaron91@example.net> Date: Sun, 3 Aug 2008 08:07:56 +0300 From: "Genadii Ganebnyi" <aaron91@example.net> To: aaron91@example.net Subject: Jms->CXF->Jms routing 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 Hi All, I am trying to create the following flow in camel: queue->web serevice->queue The problem is that messages does not reach webservice (that is deployed on jetty using cxf). They only reach first processor(see below). When I just make from("cxf:bean:routerEndpoint").to("cxf:bean:serviceEndpoint") everything works fine. Also routing directly from one queue to another also works fine. Please check my route, config and message below. Route: from("activemq:vasea") .process(new Processor() { public void process(Exchange ex) throws Exception { System.out.println(">>>>>>"+ex.getIn().getBody(String.class)); JAXBContext ctx = JAXBContext.newInstance(new Class[] {InputReportIncident.class}); Unmarshaller um = ctx.createUnmarshaller(); InputReportIncident report = (InputReportIncident) um.unmarshal(new StringReader(ex.getIn().getBody(String.class))); ArrayList<InputReportIncident> list = new ArrayList<InputReportIncident>(); list.add(report); ex.getIn().setBody(list); ex.getIn().setHeader(CxfConstants.OPERATION_NAME, "ReportIncident"); } }) .to("cxf:bean:serviceEndpoint") .process(new Processor() { public void process(Exchange ex) throws Exception { System.out.println(">>>AFTER>>>"+ex.getIn().getBody()); //ex.getIn().setBody(ex.getIn().getBody(String.class)); JAXBContext ctx = JAXBContext.newInstance(new Class[] {OutputReportIncident.class}); Marshaller um = ctx.createMarshaller(); StringWriter writer = new StringWriter(); um.marshal(((List)ex.getIn().getBody()).get(0), writer); ex.getIn().setBody(writer.toString()); } }) .to("activemq:petea"); Message(as submited to jms): <ns2:inputReportIncident xmlns:ns2="http://reportincident.sandbox.xxx.com"> <incidentId>?</incidentId> <incidentDate>?</incidentDate> <givenName>?</givenName> <familyName>?</familyName> <summary>?</summary> <details>?</details> ? <phone>?</phone> </ns2:inputReportIncident> camel-context.xml: <camelContext xmlns="http://activemq.apache.org/camel/schema/spring"> <package>com.xxx.sandbox</package> </camelContext> <cxf:cxfEndpoint id="routerEndpoint" address="http://localhost:8081/integration-ws/webservices/incident" serviceClass="com.xxx.sandbox.reportincident.ReportIncidentEndpoint" /> <cxf:cxfEndpoint id="serviceEndpoint" wsdlURL="http://localhost:8080/integration-ws/webservices/incident?wsdl" serviceClass="com.xxx.sandbox.reportincident.ReportIncidentEndpoint" endpointName="s:ReportIncedentEndpointImplPort" serviceName="s:ReportIncedentEndpointImplService" xmlns:s="http://service.sandbox.xxx.com/"> </cxf:cxfEndpoint> <bean id="activemq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory"> <bean class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="tcp://localhost:61616" /> </bean> </property> </bean> From camel-user-returnaaron91@example.net Sun Aug 03 22:08:54 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 41315 invoked from network); 3 Aug 2008 22:08:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2008 22:08:54 -0000 Received: (qmail 97786 invoked by uid 500); 3 Aug 2008 22:08:53 -0000 Delivered-To: aaron91@example.net Received: (qmail 97766 invoked by uid 500); 3 Aug 2008 22:08:53 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 97755 invoked by uid 99); 3 Aug 2008 22:08:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 15:08:53 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO fed1rmmtao103.cox.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 22:07:56 +0000 Received: from fed1rmimpo01.cox.net ([83.161.120.155]) by fed1rmmtao103.cox.net (InterMail vM.83.161.120.155 201-2186-121-102-20070209) with ESMTP id <aaron91@example.net> for <aaron91@example.net>; Sun, 3 Aug 2008 18:08:19 -0400 Received: from [83.161.120.155] ([83.161.120.155]) by fed1rmimpo01.cox.net with bizsmtp id xy8J1Z00A58l3T203y8JRw; Sun, 03 Aug 2008 18:08:18 -0400 Message-ID: <aaron91@example.net> Date: Sun, 03 Aug 2008 15:08:18 -0700 From: Vadim Chekan <aaron91@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20080724) MIME-Version: 1.0 To: aaron91@example.net Subject: Re: Jms->CXF->Jms routing References: <aaron91@example.net> In-Reply-To: <aaron91@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You should set "Out" message, not "In" in your processors. Vadim. From camel-user-returnaaron91@example.net Mon Aug 04 11:30:47 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 84987 invoked from network); 4 Aug 2008 11:30:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 11:30:45 -0000 Received: (qmail 49376 invoked by uid 500); 4 Aug 2008 11:30:44 -0000 Delivered-To: aaron91@example.net Received: (qmail 49351 invoked by uid 500); 4 Aug 2008 11:30:43 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 49340 invoked by uid 99); 4 Aug 2008 11:30:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 04:30:43 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 11:29:48 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KPyGV-00011k-5u for aaron91@example.net; Mon, 04 Aug 2008 04:30:15 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 04:30:15 -0700 (PDT) From: alu <aaron91@example.net> To: aaron91@example.net Subject: HttpExchange changes to DefaultExchange - expected? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net X-Virus-Checked: Checked by ClamAV on apache.org I noticed that Camel passes an HttpExchange from a Jetty endpoint to the attached Processor, but that subsequent Processors get a DefaultExchange. First question: is this designed/expected behaviour? Then: would it be possible to keep the HttpExchange (instead of a DefaultExchange) in subsequent Processors? What is needed to achieve this? The problem is, I need access to the HttpServletRequest and HttpServletResponse stuff in subsequent Processors, but only HttpExchange provides this. See the attached test HttpExchangeTest.java which yields #1: class org.apache.camel.component.http.HttpExchange #2: class org.apache.camel.impl.DefaultExchange http://www.nabble.com/file/p18809523/HttpExchangeTest.java HttpExchangeTest.java -- View this message in context: http://www.nabble.com/HttpExchange-changes-to-DefaultExchange---expected--tp18809523s22882p18809523.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 13:36:30 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 61996 invoked from network); 4 Aug 2008 13:36:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 13:36:30 -0000 Received: (qmail 1848 invoked by uid 500); 4 Aug 2008 13:36:29 -0000 Delivered-To: aaron91@example.net Received: (qmail 1714 invoked by uid 500); 4 Aug 2008 13:36:28 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 1703 invoked by uid 99); 4 Aug 2008 13:36:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:36:28 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 13:35:30 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQ0E8-0005mg-Fb for aaron91@example.net; Mon, 04 Aug 2008 06:35:56 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 06:35:56 -0700 (PDT) From: seven <aaron91@example.net> To: aaron91@example.net Subject: DefaultMessageListenerContainer threading issue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have a simple camel app that has some jms queue endpoints and I observed using JConsole that the app keeps creating threads with DefaultMessageListenerContainer-xxxx names every few seconds. I have digged through the forums and other sources and found out that setting CACHE_CONSUMER cache level on the DefaultMessageListenerContainer should solve this problem. Unfortunately it does not or I am doing something wrong. Here is a snipped from the configuration file I use: [code] <util:constant id="tt" static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP"/> <bean id="jmsConnectionFactory" class="com.ibm.mq.jms.MQConnectionFactory"> <property name="queueManager" value="ROTSQMTEST" /> <property name="channel" value="ROTSCHANNEL" /> <property name="port" value="1415" /> <property name="hostName" value="83.161.120.155" /> <property name="transportType" ref="tt" /> </bean> <util:constant id="CL" static-field="org.springframework.jms.listener.DefaultMessageListenerContainer.CACHE_CONSUMER"/> <bean id="bvbmq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory" ref="jmsConnectionFactory"/> <property name="cacheLevel" ref="CL"/> </bean> [/code] BTW I am using apache-camel-1.4.0 and springframework-2.5.3 Any help would be appreciated. Regards, Horia -- View this message in context: http://www.nabble.com/DefaultMessageListenerContainer-threading-issue-tp18811410s22882p18811410.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 14:35:55 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 96583 invoked from network); 4 Aug 2008 14:35:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 14:35:54 -0000 Received: (qmail 81267 invoked by uid 500); 4 Aug 2008 14:35:54 -0000 Delivered-To: aaron91@example.net Received: (qmail 81242 invoked by uid 500); 4 Aug 2008 14:35:53 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 81231 invoked by uid 99); 4 Aug 2008 14:35:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 07:35:53 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 14:34:57 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQ19f-00089f-Jv for aaron91@example.net; Mon, 04 Aug 2008 07:35:23 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 07:35:23 -0700 (PDT) From: Bela Vizy <aaron91@example.net> To: aaron91@example.net Subject: Re: HttpExchange changes to DefaultExchange - expected? In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net References: <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi, alu wrote: > > The problem is, I need access to the HttpServletRequest and > HttpServletResponse stuff in subsequent Processors, but only HttpExchange > provides this. > Exchange is an abstraction to "exchange" messages. It is related to the communication technology. So it doesn't "travel" down the pipe ... What exactly are you trying to accomplish? Bela -- View this message in context: http://www.nabble.com/HttpExchange-changes-to-DefaultExchange---expected--tp18809523s22882p18812487.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 15:02:58 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 15664 invoked from network); 4 Aug 2008 15:02:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 15:02:58 -0000 Received: (qmail 37559 invoked by uid 500); 4 Aug 2008 15:02:55 -0000 Delivered-To: aaron91@example.net Received: (qmail 37541 invoked by uid 500); 4 Aug 2008 15:02:55 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 37530 invoked by uid 99); 4 Aug 2008 15:02:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 08:02:55 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 15:01:59 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQ1Zp-0000wL-Iz for aaron91@example.net; Mon, 04 Aug 2008 08:02:25 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 08:02:25 -0700 (PDT) From: alu <aaron91@example.net> To: aaron91@example.net Subject: Re: HttpExchange changes to DefaultExchange - expected? In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: aaron91@example.net References: <aaron91@example.net> <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Bela Vizy wrote: >=20 > Hi, >=20 >=20 > alu wrote: >>=20 >> The problem is, I need access to the HttpServletRequest and >> HttpServletResponse stuff in subsequent Processors, but only HttpExchang= e >> provides this. >>=20 >=20 > Exchange is an abstraction to "exchange" messages. It is related to the > communication technology. So it doesn't "travel" down the pipe ... >=20 > What exactly are you trying to accomplish? >=20 > Bela >=20 I'm looking for a messaging architecture in which a single Processor, call it a Responder, creates a response for diverse HTTP requests coming from multiple Jetty endpoints, with possibly some intermediate message transformation and routing in between. The Responder knows how to create th= e response for the various requests using the business logic, this Responder needs to be HTTP session aware as well so needs access to an HttpExchange. Andr=C3=A9 --=20 View this message in context: http://www.nabble.com/HttpExchange-changes-to= -DefaultExchange---expected--tp18809523s22882p18813010.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 17:49:38 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 31233 invoked from network); 4 Aug 2008 17:49:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 17:49:38 -0000 Received: (qmail 78952 invoked by uid 500); 4 Aug 2008 17:49:37 -0000 Delivered-To: aaron91@example.net Received: (qmail 78933 invoked by uid 500); 4 Aug 2008 17:49:37 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 78922 invoked by uid 99); 4 Aug 2008 17:49:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 10:49:37 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO exsmtp01.exserver.dk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 17:48:39 +0000 Received: from EXVS04.exserver.dk ([83.161.120.155]) by exsmtp01.exserver.dk with Microsoft SMTPSVC201-946-8350); Mon, 4 Aug 2008 19:46:48 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: HttpExchange changes to DefaultExchange - expected? Date: Mon, 4 Aug 2008 19:46:46 +0200 Message-ID: <aaron91@example.net> In-Reply-To: <aaron91@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HttpExchange changes to DefaultExchange - expected? Thread-Index: Acj2QvbNh1JcO46hQIeAP/28pOxwawAFsxhA From: "Claus Ibsen" <aaron91@example.net> To: <aaron91@example.net> X-OriginalArrivalTime: 04 Aug 2008 17:46:48.0053 (UTC) FILETIME=[11768A50:01C8F65A] X-Virus-Checked: Checked by ClamAV on apache.org Hi I think you can front all your jetty endpoints with a processor that = copies the HttpSession to a header key on the in message, or as a = property on the exchange itself. Then it should be propagated to the other processors later in the route = chain. from("jetty:xxx").processRef("frontJettyThatCopiesHttpSessionToHeader")..= . then what you normally do in your route builder Med venlig hilsen =20 Claus Ibsen ...................................... Silverbullet Skovsg=E5rdsv=E6nget 21 8362 H=F8rning Tlf. 201-946-8350 Web: www.silverbullet.dk -----Original Message----- From: alu [mailto:aaron91@example.net]=20 Sent: 4. august 2008 17:02 To: aaron91@example.net Subject: Re: HttpExchange changes to DefaultExchange - expected? Hi, Bela Vizy wrote: >=20 > Hi, >=20 >=20 > alu wrote: >>=20 >> The problem is, I need access to the HttpServletRequest and >> HttpServletResponse stuff in subsequent Processors, but only = HttpExchange >> provides this. >>=20 >=20 > Exchange is an abstraction to "exchange" messages. It is related to = the > communication technology. So it doesn't "travel" down the pipe ... >=20 > What exactly are you trying to accomplish? >=20 > Bela >=20 I'm looking for a messaging architecture in which a single Processor, = call it a Responder, creates a response for diverse HTTP requests coming from multiple Jetty endpoints, with possibly some intermediate message transformation and routing in between. The Responder knows how to create = the response for the various requests using the business logic, this = Responder needs to be HTTP session aware as well so needs access to an = HttpExchange. Andr=E9 --=20 View this message in context: = http://www.nabble.com/HttpExchange-changes-to-DefaultExchange---expected-= -tp18809523s22882p18813010.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 20:24:26 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 32686 invoked from network); 4 Aug 2008 20:24:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 20:24:26 -0000 Received: (qmail 99464 invoked by uid 500); 4 Aug 2008 20:24:26 -0000 Delivered-To: aaron91@example.net Received: (qmail 99352 invoked by uid 500); 4 Aug 2008 20:24:25 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 99341 invoked by uid 99); 4 Aug 2008 20:24:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 13:24:25 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 20:23:29 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQ6ay-0005mD-7H for aaron91@example.net; Mon, 04 Aug 2008 13:23:56 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 13:23:56 -0700 (PDT) From: alu <aaron91@example.net> To: aaron91@example.net Subject: RE: HttpExchange changes to DefaultExchange - expected? In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: aaron91@example.net References: <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Thanks so far. Using a property or header to propagate data like HTTP session is a good idea. However, I want to call exchange.getResponse().encodeURL(...) to encode a URL that includes the session ID. So it's not just the session ID that need= s propagating, my endpoint really want access to the session context through an HttpExchange instance... Is this possible in those subsequent Processors= , or should I try a complete different design direction? Regards, Andr=C3=A9 Claus Ibsen wrote: >=20 > Hi >=20 > I think you can front all your jetty endpoints with a processor that > copies the HttpSession to a header key on the in message, or as a propert= y > on the exchange itself. >=20 > Then it should be propagated to the other processors later in the route > chain. >=20 > from("jetty:xxx").processRef("frontJettyThatCopiesHttpSessionToHeader")..= . > then what you normally do in your route builder >=20 >=20 --=20 View this message in context: http://www.nabble.com/HttpExchange-changes-to= -DefaultExchange---expected--tp18809523s22882p18819049.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 20:37:21 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 39763 invoked from network); 4 Aug 2008 20:37:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 20:37:21 -0000 Received: (qmail 15068 invoked by uid 500); 4 Aug 2008 20:37:20 -0000 Delivered-To: aaron91@example.net Received: (qmail 14952 invoked by uid 500); 4 Aug 2008 20:37:20 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 14941 invoked by uid 99); 4 Aug 2008 20:37:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 13:37:20 -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 aaron91@example.net 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; Mon, 04 Aug 2008 20:36:25 +0000 Received: by fk-out-0910.google.com with SMTP id z22so2440125fkz.6 for <aaron91@example.net>; Mon, 04 Aug 2008 13:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=PJ8YQhcDC4r9fGuahrCGP7SFVqLAlWMl+PlNBkNoInI=; b=hISWdfl3GpCK9ofvUbMogaYEk7XtDFTdIqX4PtyJaGxcf4PqC7pd8oXxdwq1y0yDww N3u81Xk82htbVLpXId5IPvUiuy/LA8CnACM+ACAXpF+TqmUXQavgdyNLNtoEJlbXv+ZN KPUlBk8RH0Ek1FlyMVvEdl6L8c3hhXK30UzBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=pz96rCDDIjLMrktUWLi8B5D4llxORoVzjiDCi9N1DbFKI+gcxHPBi9jsJA5RzLY4Md xgivkTMH1vHxYFdLCMpciVl3x08FyI8Bnw1pENfJ79RUuo0dATehKMSK/3z/mt1ZkGmv MQQ+o6JHhONxyyg8ZIqZuTAcwJRDwjKBEo200= Received: by 83.161.120.155 with SMTP id x4mr6724faq.22.1217882194180; Mon, 04 Aug 2008 13:36:34 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 4 Aug 2008 13:36:34 -0700 (PDT) Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 23:36:34 +0300 From: "Genadii Ganebnyi" <aaron91@example.net> To: aaron91@example.net Subject: Flow stops at cxf call 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 Hi All, I have the following flow: from("activemq:vasea") .process(new Processor() { public void process(Exchange ex) throws Exception { System.out.println(">>>>>>"+ex.getIn().getBody().getClass()); //ex.getIn().setBody(ex.getIn().getBody(String.class)); JAXBContext ctx = JAXBContext.newInstance(new Class[] {InputReportIncident.class}); Unmarshaller um = ctx.createUnmarshaller(); InputReportIncident report = (InputReportIncident) um.unmarshal(new StringReader(ex.getIn().getBody(String.class))); ArrayList<InputReportIncident> list = new ArrayList<InputReportIncident>(); list.add(report); ex.getIn().setBody(list); ex.getIn().setHeader(CxfConstants.OPERATION_NAME, "ReportIncident"); } }) .pipeline("cxf:bean:serviceEndpoint") .to("activemq:petea") ; It stops at the point where cxf is called. Can anybody help with this issue? From camel-user-returnaaron91@example.net Mon Aug 04 21:01:38 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 54974 invoked from network); 4 Aug 2008 21:01:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 21:01:38 -0000 Received: (qmail 52047 invoked by uid 500); 4 Aug 2008 21:01:37 -0000 Delivered-To: aaron91@example.net Received: (qmail 52021 invoked by uid 500); 4 Aug 2008 21:01:36 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 52010 invoked by uid 99); 4 Aug 2008 21:01:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 14:01:36 -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 aaron91@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mailrelay008.isp.belgacom.be) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 21:00:42 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkoDAHMKl0hR8bxP/2dsb2JhbAAIimClcw Received: from 79.188-241-81.adsl-dyn.isp.belgacom.be (HELO [83.161.120.155]) ([83.161.120.155]) by relay.skynet.be with ESMTP; 04 Aug 2008 23:01:08 +0200 Message-ID: <aaron91@example.net> Date: Mon, 04 Aug 2008 23:01:08 +0200 From: Gert Vanthienen <aaron91@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20080724) MIME-Version: 1.0 To: aaron91@example.net Subject: Re: Flow stops at cxf call References: <aaron91@example.net> In-Reply-To: <aaron91@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org L.S., If might be the MEP of the Exchange that is being sent to the cxf: endpoint. Could you try enabling DEBUG logging or use tracing (http://cwiki.apache.org/CAMEL/tracer.html) to see what exchanges are being passed along. Regards, Gert Genadii Ganebnyi wrote: > Hi All, > I have the following flow: > from("activemq:vasea") > .process(new Processor() { > > public void process(Exchange ex) throws Exception { > > System.out.println(">>>>>>"+ex.getIn().getBody().getClass()); > //ex.getIn().setBody(ex.getIn().getBody(String.class)); > JAXBContext ctx = JAXBContext.newInstance(new Class[] > {InputReportIncident.class}); > Unmarshaller um = ctx.createUnmarshaller(); > InputReportIncident report = (InputReportIncident) > um.unmarshal(new StringReader(ex.getIn().getBody(String.class))); > > ArrayList<InputReportIncident> list = new > ArrayList<InputReportIncident>(); > list.add(report); > ex.getIn().setBody(list); > ex.getIn().setHeader(CxfConstants.OPERATION_NAME, "ReportIncident"); > > } > }) > .pipeline("cxf:bean:serviceEndpoint") > .to("activemq:petea") > ; > It stops at the point where cxf is called. Can anybody help with this issue? > > From camel-user-returnaaron91@example.net Mon Aug 04 21:19:41 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 59574 invoked from network); 4 Aug 2008 21:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 21:19:41 -0000 Received: (qmail 80335 invoked by uid 500); 4 Aug 2008 21:19:40 -0000 Delivered-To: aaron91@example.net Received: (qmail 80319 invoked by uid 500); 4 Aug 2008 21:19:40 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 80308 invoked by uid 99); 4 Aug 2008 21:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 14:19:40 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 21:18:43 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQ7SQ-00082d-2k for aaron91@example.net; Mon, 04 Aug 2008 14:19:10 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 14:19:10 -0700 (PDT) From: gganebnyi <aaron91@example.net> To: aaron91@example.net Subject: Re: Jms->CXF->Jms routing In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net References: <aaron91@example.net> <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org I thought that processor is a way to modify existing message. Vadim Chekan wrote: > > You should set "Out" message, not "In" in your processors. > -- View this message in context: http://www.nabble.com/Jms-%3ECXF-%3EJms-routing-tp18795982s22882p18820071.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Mon Aug 04 22:25:12 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 98416 invoked from network); 4 Aug 2008 22:25:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2008 22:25:12 -0000 Received: (qmail 30724 invoked by uid 500); 4 Aug 2008 22:25:11 -0000 Delivered-To: aaron91@example.net Received: (qmail 30700 invoked by uid 500); 4 Aug 2008 22:25:11 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 30689 invoked by uid 99); 4 Aug 2008 22:25:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 15:25:11 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 04 Aug 2008 22:24:15 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQ8Tp-0002A1-P7 for aaron91@example.net; Mon, 04 Aug 2008 15:24:41 -0700 Message-ID: <aaron91@example.net> Date: Mon, 4 Aug 2008 15:24:41 -0700 (PDT) From: Bela Vizy <aaron91@example.net> To: aaron91@example.net Subject: RE: HttpExchange changes to DefaultExchange - expected? In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: aaron91@example.net References: <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Andr=C3=A9, alu wrote: >=20 > However, I want to call exchange.getResponse().encodeURL(...) to encode a > URL that includes the session ID. So it's not just the session ID that > needs propagating, my endpoint really want access to the session context > through an HttpExchange instance... Is this possible in those subsequent > Processors, or should I try a complete different design direction? >=20 It sounds you want to respond to a form submission from a browser. Camel is no a web server. It's a messaging system. I don't think there is a reason t= o maintain sessions either with url rewriting or cookies for that matter, but if you really need it, you have full control over the response headers, basically whatever you set as an output header will go into the response (with exceptions you can define).=20 Bela --=20 View this message in context: http://www.nabble.com/HttpExchange-changes-to= -DefaultExchange---expected--tp18809523s22882p18821081.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Tue Aug 05 03:00:27 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 22387 invoked from network); 5 Aug 2008 03:00:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 03:00:27 -0000 Received: (qmail 22934 invoked by uid 500); 5 Aug 2008 03:00:26 -0000 Delivered-To: aaron91@example.net Received: (qmail 22822 invoked by uid 500); 5 Aug 2008 03:00:26 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 22811 invoked by uid 99); 5 Aug 2008 03:00:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 20:00:26 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO fed1rmmtao105.cox.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 02:59:29 +0000 Received: from fed1rmimpo02.cox.net ([83.161.120.155]) by fed1rmmtao105.cox.net (InterMail vM.83.161.120.155 201-2186-121-102-20070209) with ESMTP id <aaron91@example.net> for <aaron91@example.net>; Mon, 4 Aug 2008 22:59:56 -0400 Received: from [83.161.120.155] ([83.161.120.155]) by fed1rmimpo02.cox.net with bizsmtp id ySzv1Z00P58l3T204Szvx1; Mon, 04 Aug 2008 22:59:56 -0400 Message-ID: <aaron91@example.net> Date: Mon, 04 Aug 2008 19:59:55 -0700 From: Vadim Chekan <aaron91@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20080724) MIME-Version: 1.0 To: aaron91@example.net Subject: Re: Jms->CXF->Jms routing References: <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> In-Reply-To: <aaron91@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org It is. But the way you do it is read In message and write the result of your processing into Out. For example see marshal processor: https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/MarshalProcessor.java BTW: I had very similar problem when I was learning Camel: I wrote my own Processor to inspect exchange and I did not know that it is required to copy In to Out. So I spent some time wandering where my message go :) Any takers to extend documentation? Vadim. gganebnyi wrote: > I thought that processor is a way to modify existing message. > > > Vadim Chekan wrote: >> You should set "Out" message, not "In" in your processors. >> > From camel-user-returnaaron91@example.net Tue Aug 05 03:16:48 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 27914 invoked from network); 5 Aug 2008 03:16:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 03:16:48 -0000 Received: (qmail 28324 invoked by uid 500); 5 Aug 2008 03:16:47 -0000 Delivered-To: aaron91@example.net Received: (qmail 28304 invoked by uid 500); 5 Aug 2008 03:16:47 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 28290 invoked by uid 99); 5 Aug 2008 03:16:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 20:16:47 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO fed1rmmtao101.cox.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 03:15:50 +0000 Received: from fed1rmimpo03.cox.net ([83.161.120.155]) by fed1rmmtao101.cox.net (InterMail vM.83.161.120.155 201-2186-121-102-20070209) with ESMTP id <aaron91@example.net> for <aaron91@example.net>; Mon, 4 Aug 2008 23:16:17 -0400 Received: from [83.161.120.155] ([83.161.120.155]) by fed1rmimpo03.cox.net with bizsmtp id yTGG1Z00C58l3T204TGGau; Mon, 04 Aug 2008 23:16:16 -0400 Message-ID: <aaron91@example.net> Date: Mon, 04 Aug 2008 20:16:16 -0700 From: Vadim Chekan <aaron91@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20080724) MIME-Version: 1.0 To: aaron91@example.net Subject: Re: Jms->CXF->Jms routing References: <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> <aaron91@example.net> In-Reply-To: <aaron91@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hmm, let me take it back. Probably something else was wrong when I tried it. I tested my case again and now if I do nothing to the exchange and leave Out null, the exchange makes it through. Vadim. Vadim Chekan wrote: > It is. But the way you do it is read In message and write the result of > your processing into Out. > > For example see marshal processor: > https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/MarshalProcessor.java > > > BTW: I had very similar problem when I was learning Camel: I wrote my > own Processor to inspect exchange and I did not know that it is required > to copy In to Out. So I spent some time wandering where my message go :) > Any takers to extend documentation? > > Vadim. > > > gganebnyi wrote: >> I thought that processor is a way to modify existing message. >> >> Vadim Chekan wrote: >>> You should set "Out" message, not "In" in your processors. >>> >> > > From camel-user-returnaaron91@example.net Tue Aug 05 04:00:48 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 57634 invoked from network); 5 Aug 2008 04:00:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 04:00:47 -0000 Received: (qmail 60475 invoked by uid 500); 5 Aug 2008 04:00:46 -0000 Delivered-To: aaron91@example.net Received: (qmail 60461 invoked by uid 500); 5 Aug 2008 04:00:46 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 60450 invoked by uid 99); 5 Aug 2008 04:00:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 21:00:46 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO exsmtp01.exserver.dk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 03:59:48 +0000 Received: from EXVS04.exserver.dk ([83.161.120.155]) by exsmtp01.exserver.dk with Microsoft SMTPSVC201-946-8350); Tue, 5 Aug 2008 05:57:58 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: HttpExchange changes to DefaultExchange - expected? Date: Tue, 5 Aug 2008 05:57:56 +0200 Message-ID: <aaron91@example.net> In-Reply-To: <aaron91@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HttpExchange changes to DefaultExchange - expected? Thread-Index: Acj2gLf6QMtaax2aROyhL6nzZU8VSgALno8g From: "Claus Ibsen" <aaron91@example.net> To: <aaron91@example.net> X-OriginalArrivalTime: 05 Aug 2008 03:57:58.0685 (UTC) FILETIME=[72DCECD0:01C8F6AF] X-Virus-Checked: Checked by ClamAV on apache.org Hi Yes you can also store the HttpSession object itself as a property or = header on the exchange itself. When you need it later you can you get it = as a HttpSession object // store it exchange.getIn().setHeder("session", the http session object); // later get it HttpSession myHttpSession =3D exchange.getIn().getHeader("session", = HttpSession.class); Med venlig hilsen =20 Claus Ibsen ...................................... Silverbullet Skovsg=E5rdsv=E6nget 21 8362 H=F8rning Tlf. 201-946-8350 Web: www.silverbullet.dk -----Original Message----- From: Bela Vizy [mailto:aaron91@example.net]=20 Sent: 5. august 2008 00:25 To: aaron91@example.net Subject: RE: HttpExchange changes to DefaultExchange - expected? Andr=E9, alu wrote: >=20 > However, I want to call exchange.getResponse().encodeURL(...) to = encode a > URL that includes the session ID. So it's not just the session ID that > needs propagating, my endpoint really want access to the session = context > through an HttpExchange instance... Is this possible in those = subsequent > Processors, or should I try a complete different design direction? >=20 It sounds you want to respond to a form submission from a browser. Camel = is no a web server. It's a messaging system. I don't think there is a = reason to maintain sessions either with url rewriting or cookies for that matter, = but if you really need it, you have full control over the response headers, basically whatever you set as an output header will go into the response (with exceptions you can define).=20 Bela --=20 View this message in context: = http://www.nabble.com/HttpExchange-changes-to-DefaultExchange---expected-= -tp18809523s22882p18821081.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Tue Aug 05 04:04:35 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 59151 invoked from network); 5 Aug 2008 04:04:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 04:04:35 -0000 Received: (qmail 62739 invoked by uid 500); 5 Aug 2008 04:04:34 -0000 Delivered-To: aaron91@example.net Received: (qmail 62718 invoked by uid 500); 5 Aug 2008 04:04:34 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 62707 invoked by uid 99); 5 Aug 2008 04:04:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 21:04:34 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO exsmtp02.exserver.dk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 04:03:36 +0000 Received: from EXVS04.exserver.dk ([83.161.120.155]) by exsmtp02.exserver.dk with Microsoft SMTPSVC201-946-8350); Tue, 5 Aug 2008 06:02:08 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: HttpExchange changes to DefaultExchange - expected? Date: Tue, 5 Aug 2008 06:02:07 +0200 Message-ID: <aaron91@example.net> In-Reply-To: <aaron91@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HttpExchange changes to DefaultExchange - expected? Thread-Index: Acj2gLf6QMtaax2aROyhL6nzZU8VSgALno8gAAAqANA= From: "Claus Ibsen" <aaron91@example.net> To: <aaron91@example.net> X-OriginalArrivalTime: 05 Aug 2008 04:02:08.0450 (UTC) FILETIME=[07BC0A20:01C8F6B0] X-Virus-Checked: Checked by ClamAV on apache.org Hi Just mind thought that it is not all transport types (e.g. JMS) that can = safely propagate headers over the wire. So if you send the exchange to a = JMS queue and then retrieve it later from the JMS queue then the = HttpSession object is not there anymore. The JMS spec doesn't allow = sending objects as JMS headers. Med venlig hilsen =20 Claus Ibsen ...................................... Silverbullet Skovsg=E5rdsv=E6nget 21 8362 H=F8rning Tlf. 201-946-8350 Web: www.silverbullet.dk -----Original Message----- From: Claus Ibsen [mailto:aaron91@example.net]=20 Sent: 5. august 2008 05:58 To: aaron91@example.net Subject: RE: HttpExchange changes to DefaultExchange - expected? Hi Yes you can also store the HttpSession object itself as a property or = header on the exchange itself. When you need it later you can you get it = as a HttpSession object // store it exchange.getIn().setHeder("session", the http session object); // later get it HttpSession myHttpSession =3D exchange.getIn().getHeader("session", = HttpSession.class); Med venlig hilsen =20 Claus Ibsen ...................................... Silverbullet Skovsg=E5rdsv=E6nget 21 8362 H=F8rning Tlf. 201-946-8350 Web: www.silverbullet.dk -----Original Message----- From: Bela Vizy [mailto:aaron91@example.net]=20 Sent: 5. august 2008 00:25 To: aaron91@example.net Subject: RE: HttpExchange changes to DefaultExchange - expected? Andr=E9, alu wrote: >=20 > However, I want to call exchange.getResponse().encodeURL(...) to = encode a > URL that includes the session ID. So it's not just the session ID that > needs propagating, my endpoint really want access to the session = context > through an HttpExchange instance... Is this possible in those = subsequent > Processors, or should I try a complete different design direction? >=20 It sounds you want to respond to a form submission from a browser. Camel = is no a web server. It's a messaging system. I don't think there is a = reason to maintain sessions either with url rewriting or cookies for that matter, = but if you really need it, you have full control over the response headers, basically whatever you set as an output header will go into the response (with exceptions you can define).=20 Bela --=20 View this message in context: = http://www.nabble.com/HttpExchange-changes-to-DefaultExchange---expected-= -tp18809523s22882p18821081.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Tue Aug 05 07:53:26 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 67914 invoked from network); 5 Aug 2008 07:53:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 07:53:26 -0000 Received: (qmail 56118 invoked by uid 500); 5 Aug 2008 07:53:25 -0000 Delivered-To: aaron91@example.net Received: (qmail 56106 invoked by uid 500); 5 Aug 2008 07:53:25 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 56095 invoked by uid 99); 5 Aug 2008 07:53:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 00:53:25 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 05 Aug 2008 07:52:28 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQHLi-0003Pn-HS for aaron91@example.net; Tue, 05 Aug 2008 00:52:54 -0700 Message-ID: <aaron91@example.net> Date: Tue, 5 Aug 2008 00:52:54 -0700 (PDT) From: cmoulliard <aaron91@example.net> To: aaron91@example.net Subject: Added value of camel-uface component ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have discovered a new component in the the big list of the camel components : camel-uface but I'm a little bit intrigued concerning the reason why such component has been added and what we can do with a UI component through Camel ? ----- Enterprise Architect Xpectis 12, route d'Esch L-1470 Luxembourg Phone 201-946-8350 Mobile 201-946-8350 e-mail : aaron91@example.net web site : www.xpectis.com -- View this message in context: http://www.nabble.com/Added-value-of-camel-uface-component---tp18826223s22882p18826223.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Tue Aug 05 12:40:04 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 4797 invoked from network); 5 Aug 2008 12:40:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 12:40:04 -0000 Received: (qmail 15305 invoked by uid 500); 5 Aug 2008 12:40:03 -0000 Delivered-To: aaron91@example.net Received: (qmail 15191 invoked by uid 500); 5 Aug 2008 12:40:03 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 15180 invoked by uid 99); 5 Aug 2008 12:40:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 05:40:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO hsblr2kaexch02.blr.headstrong.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 12:39:08 +0000 Received: from hsblr2kaexch01.blr.headstrong.com ([83.161.120.155]) by hsblr2kaexch02.blr.headstrong.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 5 Aug 2008 18:11:15 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8F6F8.8D051754" Subject: Individual routebuilder start and stop Date: Tue, 5 Aug 2008 18:11:15 +0530 Message-ID: <aaron91@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Individual routebuilder start and stop Thread-Index: Acj2+UFGprQmcFZASn2/soO3PHcZWg== From: "Manish K Bafna" <aaron91@example.net> To: <aaron91@example.net> X-OriginalArrivalTime: 05 Aug 2008 12:41:15.0892 (UTC) FILETIME=[8D0E8340:01C8F6F8] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8F6F8.8D051754 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=20 Is there a way to start, stop individual routes rather than starting and stopping camel context.=20 =20 Thanks and Regards, Manish Bafna =20 ------_=_NextPart_001_01C8F6F8.8D051754-- From camel-user-returnaaron91@example.net Tue Aug 05 13:42:24 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 37059 invoked from network); 5 Aug 2008 13:42:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 13:42:24 -0000 Received: (qmail 30368 invoked by uid 500); 5 Aug 2008 13:42:23 -0000 Delivered-To: aaron91@example.net Received: (qmail 30357 invoked by uid 500); 5 Aug 2008 13:42:23 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 30346 invoked by uid 99); 5 Aug 2008 13:42:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 06:42: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 aaron91@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO yw-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 13:41:28 +0000 Received: by yw-out-1718.google.com with SMTP id 6so1519369ywa.86 for <aaron91@example.net>; Tue, 05 Aug 2008 06:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=mFSpcWlosOT18wKy4bMpHDwokH+pZQ+5nrzA/hBbqdo=; b=Xw3SGK51zTeKwAveuIoU9JW30SD8kZlf/U6OBj3FWid+lDM37aShY8FwaAfIQAnySd IYEqCXHP/K5FC+vWpmL66hioMOXM0e21wRzBX7XCHubXd5YVAXQAvfvu79t6PtNSERxN 1F+jahT5r0dqIT2w4dw8Pt2M/cdHJkrbrD1Ck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iYS7NKr+dL39Kha3d9H8SjGgR7FEoIpULAI1XEGl5BJqKu7hgv+aIFcV1aWSiF5Eiw fp73iSuGB+mkufrUaB4gDVo1o11GwuaRhnmNpE+3MRM2SkupNdr12muUqjzixDwpX4e6 rf/cForMYXLvI1kw5rSdLkBdztSDkMaphFC0c= Received: by 83.161.120.155 with SMTP id v4mr5470324wfg.48.1217943714002; Tue, 05 Aug 2008 06:41:54 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 5 Aug 2008 06:41:54 -0700 (PDT) Message-ID: <aaron91@example.net> Date: Tue, 5 Aug 2008 15:41:54 +0200 From: "Roman Kalukiewicz" <aaron91@example.net> To: aaron91@example.net Subject: Re: Individual routebuilder start and stop In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hello Manish, Maybe you should take a look at SMX4? You can deploy/undeploy camel contexts there, but they run on a single server. As far as I know there is no direct support for starting/stopping routes in camel itself. Roman 2008/8/5 Manish K Bafna <aaron91@example.net>: > Hi, > > Is there a way to start, stop individual routes rather than starting and > stopping camel context. > > > > Thanks and Regards, > > Manish Bafna > > > > From camel-user-returnaaron91@example.net Tue Aug 05 13:44:54 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 37800 invoked from network); 5 Aug 2008 13:44:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 13:44:53 -0000 Received: (qmail 35607 invoked by uid 500); 5 Aug 2008 13:44:52 -0000 Delivered-To: aaron91@example.net Received: (qmail 35494 invoked by uid 500); 5 Aug 2008 13:44:51 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 35483 invoked by uid 99); 5 Aug 2008 13:44:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 06:44:51 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 05 Aug 2008 13:43:55 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQMpp-00083d-V5 for aaron91@example.net; Tue, 05 Aug 2008 06:44:21 -0700 Message-ID: <aaron91@example.net> Date: Tue, 5 Aug 2008 06:44:21 -0700 (PDT) From: cmoulliard <aaron91@example.net> To: aaron91@example.net Subject: Re: Individual routebuilder start and stop In-Reply-To: <aaron91@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net References: <aaron91@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi, A ManagedRoute class exists (see package org.apache.camel.management) and is used by JMX console to stop/start route. Regards, Charles Moulliard Manish K Bafna wrote: > > Hi, > > Is there a way to start, stop individual routes rather than starting and > stopping camel context. > > > > Thanks and Regards, > > Manish Bafna > > > > > ----- Enterprise Architect Xpectis 12, route d'Esch L-1470 Luxembourg Phone 201-946-8350 Mobile 201-946-8350 e-mail : aaron91@example.net web site : www.xpectis.com -- View this message in context: http://www.nabble.com/Individual-routebuilder-start-and-stop-tp18830222s22882p18831442.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Tue Aug 05 16:17:00 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 36059 invoked from network); 5 Aug 2008 16:16:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 16:16:59 -0000 Received: (qmail 91254 invoked by uid 500); 5 Aug 2008 16:16:59 -0000 Delivered-To: aaron91@example.net Received: (qmail 91234 invoked by uid 500); 5 Aug 2008 16:16:59 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 91223 invoked by uid 99); 5 Aug 2008 16:16:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 09:16:58 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net 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, 05 Aug 2008 16:15:51 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <aaron91@example.net>) id 1KQP8Z-00061B-Q5 for aaron91@example.net; Tue, 05 Aug 2008 09:11:51 -0700 Message-ID: <aaron91@example.net> Date: Tue, 5 Aug 2008 09:11:51 -0700 (PDT) From: carloc <aaron91@example.net> To: aaron91@example.net Subject: Camel, Websphere, And Long Running Threads MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron91@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone, I have this problem with websphere. I'm implementing a competing consumer which has 5 threads available. I'm using a file component and placing it in activemq for it to be processed by the 5 consumers that are available. The problem is I have very long running threads. Each thread takes about 30 minutes to complete. WebSphere could not stop the application while the threads are running. Even stopping the service makes me encounter the problems. I have already disabled the JMX since I've read that there are issues. The real big issue is restarting the application server really takes a long time. I've also seen different processes being spawned. Is this the correct way? Thanks Carlo -- View this message in context: http://www.nabble.com/Camel%2C-Websphere%2C-And-Long-Running-Threads-tp18834455s22882p18834455.html Sent from the Camel - Users mailing list aaron91@example.net. From camel-user-returnaaron91@example.net Tue Aug 05 16:37:13 2008 Return-Path: <camel-user-returnaaron91@example.net> Delivered-To: aaron91@example.net Received: (qmail 47987 invoked from network); 5 Aug 2008 16:37:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Aug 2008 16:37:13 -0000 Received: (qmail 17936 invoked by uid 500); 5 Aug 2008 16:37:12 -0000 Delivered-To: aaron91@example.net Received: (qmail 17914 invoked by uid 500); 5 Aug 2008 16:37:12 -0000 Mailing-List: contact aaron91@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron91@example.net> List-Unsubscribe: <mailto:aaron91@example.net> List-Post: <mailto:aaron91@example.net> List-Id: <camel-user.activemq.apache.org> Reply-To: aaron91@example.net Delivered-To: mailing list aaron91@example.net Received: (qmail 17903 invoked by uid 99); 5 Aug 2008 16:37:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 09:37:12 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aaron91@example.net designates 83.161.120.155 as
{'source': 'Apache Software Foundation Public Mail Archives'}