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

Fabrice Dewasmes updated SM-692:
--------------------------------

    Attachment: patch_ordering.txt

I've provided a simple patch for ServiceUnit. It adds an arraylist that mirrors 
the map. When calling getEndpoints it the arraylist that is returned and thus 
activation appends in the right order. I'm not that satisfied with this as it's 
always armful to maintain two collections mirroring each other. 

> http endpoint activation ordering
> ---------------------------------
>
>                 Key: SM-692
>                 URL: https://issues.apache.org/activemq/browse/SM-692
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.0
>            Reporter: Fabrice Dewasmes
>            Priority: Minor
>         Attachments: patch_ordering.txt
>
>
> > when you use two http endpoints in the same service unit, you have no idea
> > of which one will be activated first. in the case of one endpoint proxying
> > another, if consumer is activated first, the WSDL is not correctly generated
> > as it relies on the proxied endpoint WSDL.
> >
> > ordering of http endpoint can solve this. Another approach could be to make
> > the consumer endpoint wait for the targeted provider to be available and
> > then resume activation.
> > 

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