Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44153188C4 for ; Wed, 16 Dec 2015 17:19:17 +0000 (UTC) Received: (qmail 59088 invoked by uid 500); 16 Dec 2015 17:19:11 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 59039 invoked by uid 500); 16 Dec 2015 17:19:11 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 59027 invoked by uid 99); 16 Dec 2015 17:19:11 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 17:19:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 016BF180502 for ; Wed, 16 Dec 2015 17:19:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.213 X-Spam-Level: * X-Spam-Status: No, score=1.213 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id NTIIy-3o7rRp for ; Wed, 16 Dec 2015 17:18:58 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E2CC442A22 for ; Wed, 16 Dec 2015 17:18:57 +0000 (UTC) Received: by mail-ig0-f175.google.com with SMTP id to18so57420018igc.0 for ; Wed, 16 Dec 2015 09:18:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=l8+YxlP+Y0Rp27jyMzc/MikQJVhd7xSVUWzRFfZE5ak=; b=UhvUmtZZD1ECM7J5cOps5MbDr3J7jyfAxrt5ccjjbW88a7LE9EpCn/juZhrId/0Raq n3td/OqBwHVvQEKIMXCmaHo8LQG/250BSIaQ+TyMxk1GeYil3RfPorbyCAL8KvVIsfgB TB2yeqS3btiPSrVhzukgtwZ7iV6cVQO82ulj6kP5q8qNOWOVMCH4e5kyj5+Pmts41wnc flCjKuUYTUrkkVcOeV9/LYSMTdjL6M1wC/7XNTIgvJeH827aWPQWZbx7j+jALvkganNj Gial1uUx0qfwHhfzp/3jSAwNldLg7cOTVQ5W+6iwvIWnOzymiIV1QDwhT63bQiiTklAe ds3g== X-Received: by 10.50.49.68 with SMTP id s4mr10785116ign.39.1450286337571; Wed, 16 Dec 2015 09:18:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.0.149 with HTTP; Wed, 16 Dec 2015 09:18:37 -0800 (PST) In-Reply-To: <1450132560459-5775070.post@n5.nabble.com> References: <1450132560459-5775070.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 16 Dec 2015 18:18:37 +0100 Message-ID: Subject: Re: [ENHANCEMENT REQUEST]: camel-netty4 config support for specifying UDP source port To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 We love contributions, so you are much welcome to dive in the code to see if that sourcePort can be added. http://camel.apache.org/contributing On Mon, Dec 14, 2015 at 11:36 PM, SteveR wrote: > I'm currently facing a show-stopping production issue: I'm unable to figure > out how to specify the UDP source port of my choosing for a Camel route that > uses the camel-netty4 component to > send a UDP datagram. > > If anyone has any thoughts/ideas about how I can do this (or hack this) it > would be much appreciated. > > For details, see my recent Camel-Users post: How to specify the UDP source > port with camel-netty4 ? > > > It would be great if this could be taken under consideration for an upcoming > enhancement. It looks like the main changes would be in the associated > NettyProducer.java > > and possibly made configurable via an addition to the camel-netty4 > options. > > For example: > > .to("netty4:udp://remotehost:12345?*sourcePort=55555*& > clientPipelineFactory=#MY_CLIENT_PIPELINE_FACTORY& > > sync=false&disconnect=false&sendBufferSize=26214400&allowDefaultCodec=false"); > > Thanks, SteveR > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/ENHANCEMENT-REQUEST-camel-netty4-config-support-for-specifying-UDP-source-port-tp5775070.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2