Enhance servicemix-bean by providing a ServiceUnitAnalyzer
----------------------------------------------------------

                 Key: SM-957
                 URL: https://issues.apache.org/activemq/browse/SM-957
             Project: ServiceMix
          Issue Type: New Feature
          Components: servicemix-bean
    Affects Versions: 3.2
         Environment: linux, normal pc
            Reporter: Eduardo Burgos
            Priority: Minor
         Attachments: servicemix-bean-05232007-eburgos.diff

Attached is a diff with the addition of a new BeanServiceUnitAnalyzer that I 
made. At this moment, it only works with endpoints of type <bean:endpoint> and 
it looks every endpoint's bean for their @ExchangeTarget's uri property. I had 
to copy the parse part from the URIResolver class, I couldn't directly use it 
because I don't have a ComponentContext or a MessageExchange at that moment, so 
you'll pretty much find duplicated code from URIResolver class :(. I tested it 
with my own endpoints and it worked well. 

I hope you like it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to