[ https://issues.apache.org/activemq/browse/SM-695?page=all ]

James Lorenzen updated SM-695:
------------------------------

    Attachment: HttpProviderTest.java

Added a new test called testInOnlyOverrideDestination() method. This is 
basically a duplication of the testInOnly method.

> 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
>            Priority: Minor
>         Attachments: HttpProviderTest.java, JbiConstants.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

        

Reply via email to