I get the following Exception when I try to deploy component in JBoss +
ServiceMix
Caused by: java.lang.IllegalArgumentException: null source
at java.util.EventObject.<init>(EventObject.java:38)
at javax.management.Notification.<init>(Notification.java:220)
at
javax.management.AttributeChangeNotification.<init>(AttributeChangeNotificat
ion.java:84)
at
org.servicemix.jbi.management.BaseStandardMBean.sendAttributeChangeNotificat
ion(BaseStandardMBean.java:438)
at
org.servicemix.jbi.management.BaseStandardMBean.updateAttribute(BaseStandard
MBean.java:221)
at
org.servicemix.jbi.management.BaseStandardMBean.propertyChange(BaseStandardM
Bean.java:238)
at
org.servicemix.jbi.management.BaseLifeCycle.firePropertyChanged(BaseLifeCycl
e.java:147)
at
org.servicemix.jbi.management.BaseLifeCycle.setCurrentState(BaseLifeCycle.ja
va:95)
at
org.servicemix.jbi.management.BaseLifeCycle.start(BaseLifeCycle.java:57)
at org.servicemix.jbi.framework.Registry.start(Registry.java:98)
at
org.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:356)
at
org.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBI
Container.java:55)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.invokeInitMethods(AbstractAutowireCap
ableBeanFactory.java:966)
Does anybody know the reason?
Thanks in advance,
Maxim
----- Original Message -----
From: "Guillaume Nodet" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 26, 2005 2:37 PM
Subject: Re: [servicemix-dev] QuartzComponent?
> Sure, i should have done that :)
>
>
http://svn.servicemix.codehaus.org/branches/servicemix-1.1/base/src/test/resources/org/servicemix/jbi/config/example-spring.xml?rev=599&view=auto
>
> Cheers,
> Guillaume Nodet
>
> Maxim Surov wrote:
>
> >Can you provide an example of its usage?
> >
> >----- Original Message -----
> >From: "Guillaume Nodet" <[EMAIL PROTECTED]>
> >To: <[email protected]>
> >Sent: Wednesday, October 26, 2005 11:01 AM
> >Subject: Re: [servicemix-dev] QuartzComponent?
> >
> >
> >
> >
> >>The destinationService property has to be set on the associated
> >>activationSpec.
> >>If you use a plain spring configuration, the "components" property on
> >>the jbi container
> >>is a list of "org.servicemix.jbi.container.ActivationSpec" objects that
> >>hold information
> >>about a component.
> >>You can set several parameters and in particular, routing informations
> >>as the destinationService
> >>property.
> >>
> >>Cheers,
> >>Guillaume Nodet
> >>
> >>Cheers,
> >>Guillaume Nodet
> >>
> >>Maxim Surov wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>
> >>>I use Spring notation to describe components and beans.
> >>>
> >>>Ho can I forward <property name="destinationService"> to
QuartzComponent?
> >>>
> >>><!-- components within the JBI container -->
> >>> <bean id="configNotifier"
> >>>class="org.servicemix.components.quartz.QuartzComponent">
> >>> <property name="triggers">
> >>> <map>
> >>> <entry>
> >>> <key>
> >>> <bean class="org.quartz.SimpleTrigger">
> >>> <property name="repeatInterval"
> >>>
> >>>
> >value="10000"/>
> >
> >
> >>> <property name="repeatCount" value="-1"/>
> >>> </bean>
> >>> </key>
> >>> <bean class="org.quartz.JobDetail">
> >>> <property name="name" value="configer
> >>>notification"/>
> >>> <property name="group" value="ServiceMix"/>
> >>> </bean>
> >>> </entry>
> >>> </map>
> >>> </property>
> >>> </bean>
> >>>
> >>>Ho can I point destination service in this case?
> >>>
> >>>Regards,
> >>>Maxim
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
> >
> >
> >
>
>