Try specifying the Spring beans name space. For example,  

<bean id="myPlugin" class="org.myOrg.MyPlugin" 
         xmlns="http://www.springframework.org/schema/beans"/>

Joe
www.ttmsolutions.com


fredrick255 wrote:
> 
> I am having trouble configuring the broker to load two custom plugins.
> 
> I was not able to get this configuration style to work:
> 
> <broker ...>
>   ...
>   <plugins>
>       <bean id="myPlugin" class="org.myOrg.MyPlugin"/>
>   </plugins>
>   ...
> </broker>
> 
> When I try to do this I get an unrecognized xbean element exception.
> 
> I've only been able to get this style to work:
> 
> <broker ... Plugins="#myPlugin">
>   ...
> </broker>
> 
> <bean id="myPlugin" class="org.myOrg.MyPlugin"/>
> 
> but I have not been able to successfully delimit more then one plugin in
> the plugins field. I've tried , ; | and simply the # but it always reads
> it as a single plugin.
> 
> Any ideas?
> 
> 
> Thanks,
> Fredrick
> 

-- 
View this message in context: 
http://www.nabble.com/Loading-more-than-one-custom-plugin-tp18512903p18515235.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to