Bug 1010803 - Allow properties without label to be set as headers when explicitly specified in config
Summary: Allow properties without label to be set as headers when explicitly specified...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER7
: 6.0.0
Assignee: Magesh Kumar Bojan
QA Contact: Tomas Rohovsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 05:37 UTC by Magesh Kumar Bojan
Modified: 2018-12-04 15:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
test-sample (43.57 KB, application/x-zip-compressed)
2014-01-10 02:32 UTC, Magesh Kumar Bojan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1731 0 Major Closed Properties apart from component labeled ones should be included if explicitly specified in config 2015-11-03 21:43:54 UTC

Description Magesh Kumar Bojan 2013-09-23 05:37:03 UTC
Description of problem:

When certain properties are explicitly set in config, e.g., regular expressions, then they need to be added to outgoing headers irrespective of their labels.

Right now SOAP, Http and RESTEasy gateways only add the matching properties if the HTTP/RESTEasy label is set.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 JBoss JIRA Server 2013-10-01 13:33:51 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1731

pushed

Comment 6 Magesh Kumar Bojan 2014-01-10 02:32:40 UTC
Created attachment 847977 [details]
test-sample

To QE:
-----
Use the attached modified rest binding quickstart and run mvn test. In the console messages you should see:

[org.switchyard.component.resteasy.util.ClientInvoker] Outgoing Headers from SwitchYard through OutboundHandler [
[org.switchyard.component.resteasy.util.ClientInvoker] foo = bar
[org.switchyard.component.resteasy.util.ClientInvoker] ]
[org.jboss.resteasy.core.SynchronousDispatcher] PathInfo: /warehouse/4/Time Machine
[org.switchyard.component.resteasy.util.RESTEasyProxy] Incoming Headers to SwitchYard through InboundHandler [
[org.switchyard.component.resteasy.util.RESTEasyProxy] Connection = Keep-Alive
[org.switchyard.component.resteasy.util.RESTEasyProxy] Host = localhost:8081
[org.switchyard.component.resteasy.util.RESTEasyProxy] Content-Length = 0
[org.switchyard.component.resteasy.util.RESTEasyProxy] User-Agent = Apache-HttpClient/4.2.1 (java 1.5)
[org.switchyard.component.resteasy.util.RESTEasyProxy] foo = bar
[org.switchyard.component.resteasy.util.RESTEasyProxy] Accept-Encoding = gzip, deflate
[org.switchyard.component.resteasy.util.RESTEasyProxy] ]

Notice the header foo been added.

Comment 7 JBoss JIRA Server 2014-06-16 23:47:44 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1731 to Closed


Note You need to log in before you can comment on or make changes to this bug.