Hi there - did you manage to resolve this issue?  I am having the same
problem when using plain spring...  

Regards,

Matthew


Selon Sami Dalouche <[EMAIL PROTECTED]>:

> Hi,
>
> I'm trying to embed ServiceMix using plain spring (not the
> container/component
> tags, that I have no idea how to use using an unmodified spring)
>
> So, for the moment, I'm just trying to deploy as few stuff as possible
:
>
>
>   <bean id="jbi"
class="org.servicemix.jbi.container.SpringJBIContainer">
>
>     <property name="componentNames">
>       <list>
>         <value>sender</value>
>       </list>
>     </property>
>   </bean>
>
>
>  <bean id="sender"
class="org.servicemix.components.jms.JmsSenderComponent">
>       <property name="template">
>               <ref bean="jmsTemplate"/>
>       </property>
>     <property name="service" ref="receiverServiceName"/>
>
>   </bean>
>
>   <bean id="receiverServiceName" class="javax.xml.namespace.QName">
>     <constructor-arg value="http://servicemix.org/example/"/>
>     <constructor-arg value="receiver"/>
>   </bean>
>
> and I get the following Exception :
>
> org.springframework.beans.factory.BeanCreationException: Error
creating bean
> wit
> h name 'jbi' defined in class path resource [spring/servicemix.xml]:
> Initializat
> ion of bean failed; nested exception is
java.lang.IllegalArgumentException:
> null
>  source
> java.lang.IllegalArgumentException: null source
>         at java.util.EventObject.<init>(Unknown Source)
>         at javax.management.Notification.<init>(Unknown Source)
>         at javax.management.AttributeChangeNotification.<init>(Unknown
> Source)
>         at
> org.servicemix.jbi.management.BaseStandardMBean.sendAttributeChangeNo
> tification(BaseStandardMBean.java:438)
>         at
> org.servicemix.jbi.management.BaseStandardMBean.updateAttribute(BaseS
> tandardMBean.java:221)
>
> Does anyone have some advice to give me ?
>
> Thanks a lot
> Sami Dalouche
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




This message has been scanned for viruses.

Reply via email to