Return-Path: X-Original-To: apmail-synapse-dev-archive@www.apache.org Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C005993E for ; Thu, 9 Feb 2012 12:43:47 +0000 (UTC) Received: (qmail 1065 invoked by uid 500); 9 Feb 2012 12:43:47 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 956 invoked by uid 500); 9 Feb 2012 12:43:46 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Delivered-To: moderator for dev@synapse.apache.org Received: (qmail 83181 invoked by uid 99); 9 Feb 2012 12:26:19 -0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nordmoen90@gmail.com designates 209.85.217.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:subject:from:to:cc:date:content-type:x-mailer :mime-version; bh=osTLGcJ40KZg4QTHQAfod2kBzVGdXE9+kmnaXFsvDjI=; b=liP5XLZnAcKN+ABLduDDXrmBwqSjSL2r8lKvGPnlQW8vKtdOEi25cpzfYKSE6gLyhQ oxJwB5M3Ruhue5yPOua+sD71XD6Edajcbgz/TipcETmYg8nozg/hsoQhtAP/RrXov1Z8 afznsDWQ4zCrs6TSIqzvgp0To5at9zfTSvuGw= Message-ID: <1328790348.1635.24.camel@localhost.localdomain> Subject: Support for DiffServ with Http transport From: =?ISO-8859-1?Q?J=F8rgen?= Nordmoen To: dev@synapse.apache.org Cc: Ola Martin Tiseth =?ISO-8859-1?Q?St=F8vneng?= Date: Thu, 09 Feb 2012 13:25:48 +0100 Content-Type: multipart/alternative; boundary="=-wLYJI7eyREIwLkhfj0P7" X-Mailer: Evolution 3.2.3 Mime-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --=-wLYJI7eyREIwLkhfj0P7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hello. Long explenation: We are a group of students tasked with creating a system which is able to prioritize messages in a network, our customer has asked us to use WSO2 ESB which is, as you most likely know, just Apache Synapse. We have one strict demand from the customer and that is that our system must be able to set the DiffServ field in the IP header. The system must be able to accept SOAP messages and forward them to a GlassFish server with the final endpoints. And here is our problem, since Synapse does not directly support DiffServ or TOS we need to implement it, but after much research we are still not quite sure how to do this and that is why this emails is sent. We have some leads on where we could alter, org/apache/http/impl/nio/reactor/DefaultConnectingIOReactor could be extended in order to obtain the DiffServ value from the MessageContext and then alter the Socket connection, but we are not quite sure as we don't have the overview needed. Question: Is there a way we could alter Synapse, Axis 2 and/or HTTPCommons in order for us to support setting different DiffServ values to different clients? Hopefully we could alter something which we could either reach or interact with from a mediator which we have to write a cuple of anyway. Best regards. Jørgen Nordmoen , --=-wLYJI7eyREIwLkhfj0P7 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit Hello.

Long explenation: We are a group of students tasked with creating a
system which is able to prioritize messages in a network, our customer
has asked us to use WSO2 ESB which is, as you most likely know, just
Apache Synapse. We have one strict demand from the customer and that is
that our system must be able to set the DiffServ field in the IP
header. The system must be able to accept SOAP messages and forward
them to a GlassFish server with the final endpoints. And here is our
problem, since Synapse does not directly support DiffServ or TOS we
need to implement it, but after much research we are still not quite
sure how to do this and that is why this emails is sent. We have some
leads on where we could alter,
org/apache/http/impl/nio/reactor/DefaultConnectingIOReactor could be
extended in order to obtain the DiffServ value from the MessageContext
and then alter the Socket connection, but we are not quite sure as we
don't have the overview needed.

Question:
Is there a way we could alter Synapse, Axis 2 and/or
HTTPCommons in order for us to support setting different DiffServ
values to different clients? Hopefully we could alter something which
we could either reach or interact with from a mediator which we have to
write a cuple of anyway.

Best regards.
Jørgen Nordmoen <jorgno@stud.ntnu.no>, <nordmoen90@gmail.com>

--=-wLYJI7eyREIwLkhfj0P7--