[ 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