[ https://issues.apache.org/activemq/browse/SM-695?page=all ]
Guillaume Nodet resolved SM-695.
--------------------------------
Fix Version/s: 3.1
Resolution: Fixed
Assignee: Guillaume Nodet
Author: gnodet
Date: Wed Oct 18 16:07:50 2006
New Revision: 465412
URL: http://svn.apache.org/viewvc?view=rev&rev=465412
Log:
SM-695: Dynamic HTTP provider endpoint
Patch provided by James Lorrenzen, thx
Modified:
incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/JbiConstants.java
incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java
incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java
> Dynamic HTTP provider endpoint
> ------------------------------
>
> Key: SM-695
> URL: https://issues.apache.org/activemq/browse/SM-695
> Project: ServiceMix
> Issue Type: New Feature
> Components: servicemix-http
> Affects Versions: 3.0
> Reporter: James Lorenzen
> Assigned To: Guillaume Nodet
> Priority: Minor
> Fix For: 3.1
>
> Attachments: HttpProviderTest.java, JbiConstants.java,
> ProviderProcessor.java, ProviderProcessor.java
>
>
> It would be benficial to add functionaility to the HTTP BC to allow consumers
> to specify the provider locationURI through a NormalizedMessage property.
> Please see this thread for related information:
> http://www.nabble.com/http-endpoint-in-provider-mode%3A-dynamic-destination--tf1413771.html#a6721824
> Our team plans on adding some code to the HTTP BC that first looks to see if
> the NormalizedMessage contains a specific property containing the value for
> the destination. Therefore a consumer could create a new NormalizedMessage
> and call setProperty to set the destination URI. If the HTTP BC detects this
> property he routes the request to this URI; otherwise it continues as normal
> and uses the locationURI specified in the xbean.xml file.
> We plan on making and testing this change in the next couple of days. After
> which we will reply back with the modifications.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira