Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A914A200B0F for ; Fri, 3 Jun 2016 08:12:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A7CCE160A52; Fri, 3 Jun 2016 06:12:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1FA97160A51 for ; Fri, 3 Jun 2016 08:12:49 +0200 (CEST) Received: (qmail 8517 invoked by uid 500); 3 Jun 2016 06:12:49 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Delivered-To: moderator for dev@camel.apache.org Received: (qmail 97725 invoked by uid 99); 2 Jun 2016 12:56:33 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.736 X-Spam-Level: *** X-Spam-Status: No, score=3.736 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Date: Thu, 2 Jun 2016 05:56:29 -0700 (MST) From: chandrup2010 To: dev@camel.apache.org Message-ID: <1464872189397-5783391.post@n5.nabble.com> Subject: netty4-http camel code examples MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 03 Jun 2016 06:12:50 -0000 Hi, Actually i want to send 10 messages to netty4-http server which is listening to remote receiver which has got delay of 20 seconds. Now all 10 messages should be processed by netty4-http server and whenever response come back from remote server netty4-http server process the response. I have Spring AbstractPollingMessageListenerContainer JMS Message listener which picks up the message from activemq queue every 1 second and dispatch towards netty4-http server which will further send it to actual remote receivers and response will be received by netty4-http server. Why I am using netty4-http server since i believe even if there is delay at receiver side still it will process all the messages and once response comes from receiver separate thread will be looking for the response. So I feel using netty4-http server i will get advantage that i will keep on dispatching messages towards receiver without waiting for response since netty internally will take care of it. Please suggest if my understanding and belief is correct and if not please suggest me any alternative regarding the same. -- View this message in context: http://camel.465427.n5.nabble.com/netty4-http-camel-code-examples-tp5783391.html Sent from the Camel Development mailing list archive at Nabble.com.