You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "James Lorenzen (JIRA)" <ji...@apache.org> on 2006/10/09 23:14:09 UTC

[jira] Created: (SM-695) Dynamic HTTP provider endpoint

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


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

        

[jira] Updated: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-695?page=all ]

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

    Attachment: JbiConstants.java

Added a new constant for the destination property name.
String HTTP_DESTINATION_URI = "org.apache.servicemix.http.destination.uri";

This constant is used in the ProviderProcessor and HttpProviderTest classes.

> 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37150 ] 
            
James Lorenzen commented on SM-695:
-----------------------------------

What do you suggest we call the property name? Meaning the property name the consumer sets in its NormalizedMessage to set the HTTP provider endpoint URI to replace the locationURI in the xbean.xml file.

How about:

javax.jbi.messaging.http.provider.uri

or

javax.jbi.messaging.http.destination.url

> 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
>
> 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

        

[jira] Resolved: (SM-695) Dynamic HTTP provider endpoint

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37182 ] 
            
James Lorenzen commented on SM-695:
-----------------------------------

Thanks for the feedback Guillaume.
I will make the approriate changes and get back to you.

> 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37216 ] 
            
James Lorenzen commented on SM-695:
-----------------------------------

I am new to this.
What does it mean when you updated this item to Patch Available?

> 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, 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

        

[jira] Updated: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-695?page=all ]

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

    Attachment: ProviderProcessor.java

I incorporated Guillaume's feedback.
Created a method variable that defaults to the endpoint.getLocationURI. This variable's value is overridden is the property is present.
All the tests for HttpProviderTest passed.

Please let me know what else I need to do.

> 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, 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37218 ] 
            
Guillaume Nodet commented on SM-695:
------------------------------------

Nothing particularly, but as a patch is available, the flag should be set.
It allows to filter on issues with patches, which should be applied first.
I will commit this patch asap.

> 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, 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37232 ] 
            
James Lorenzen commented on SM-695:
-----------------------------------

Were you able to commit the patch yesterday?
I know of others wishing to checkout 3.0 and build with this new patch.

> 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, 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37152 ] 
            
James Lorenzen commented on SM-695:
-----------------------------------

Also, if you decide to incorporate this change once we get the patch, we would also most likely want to update the HTTP BC page to reference this new property.

http://www.servicemix.org/site/servicemix-http.html



> 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
>
> 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

        

[jira] Updated: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-695?page=all ]

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

    Attachment: ProviderProcessor.java

Refactored two areas of code into two different methods. One to get the RelURI for the HTTPClient class PostMethod. The other method was to populate the HTTPClient class HostConfiguration (getHostConfiguartion() method).
Then I added the following three lines:

// Incorporated because of JIRA SM-695
Object newLocationURI = nm.getProperty(JbiConstants.HTTP_DESTINATION_URI);
if (newLocationURI != null) {
    endpoint.setLocationURI((String) newLocationURI);
    log.info("Location URI overridden: " + endpoint.getLocationURI());
}

> 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: 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

        

[jira] Updated: (SM-695) Dynamic HTTP provider endpoint

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-695?page=all ]

Guillaume Nodet updated SM-695:
-------------------------------

    Patch Info: [Patch Available]

> 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, 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

        

[jira] Commented: (SM-695) Dynamic HTTP provider endpoint

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-695?page=comments#action_37181 ] 
            
Guillaume Nodet commented on SM-695:
------------------------------------

I don't really like the fact that the endpoint attribute is overriden by the property.
It may be better to just use a local variable which defaults to the endpoint uri
and is overriden by the property, instead of changing the endpoint.

> 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

        

[jira] Updated: (SM-695) Dynamic HTTP provider endpoint

Posted by "James Lorenzen (JIRA)" <ji...@apache.org>.
     [ 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