See http://jira.activemq.org/jira/browse/SM-221
Guillaume Nodet wrote:
I think it would be better to be able to specify for a lightweight
component, if it is
a BC or a SE (using flags on the activationSpec, or on the
ComponentSupport class) and maybe to change the class hierarchy so
that every lightweight component is flagged the appropriate way.
We have already talked about that with Gastaldi and he was in need for
such a thing, if I recall.
I will raise a jira about that.
Cheers,
Guillaume Nodet
Simone Bordet wrote:
Hi,
ServiceMix has the notion of pojo components, aside of the ones
specified by the JBI spec (binding component and service engine).
The JBI management methods:
ManagementContext.getBindingComponents() and
ManagementContext.getServiceEngines()
return not only the bcs and ses, but also (both) ServiceMix pojo's
components.
Since now ManagementContext has a specialized method to retrieve pojo
components, I think will be useful to have the standard JBI methods
(getBindingComponents() and getServiceEngines()) return only what
their method name says.
I filed a JIRA (http://jira.activemq.org/jira/browse/SM-325) and
attached a patch.
Regards,
Simon
--
http://bordet.blogspot.com