You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Alexander Pinske (JIRA)" <ji...@apache.org> on 2009/08/11 17:01:35 UTC
[jira] Created: (SMX4NMR-139) OsgiSimpleClusterRegistration not
working if only specifing name and endpont
OsgiSimpleClusterRegistration not working if only specifing name and endpont
----------------------------------------------------------------------------
Key: SMX4NMR-139
URL: https://issues.apache.org/activemq/browse/SMX4NMR-139
Project: ServiceMix NMR
Issue Type: Bug
Affects Versions: 1.0.0
Environment: FUSE 4.1.0.2, WinXP
Reporter: Alexander Pinske
Priority: Minor
When using clustering engine in JBI environment, i.e. specifing in a spring app the registration like this:
<bean class="org.apache.servicemix.jbi.cluster.engine.OsgiSimpleClusterRegistration">
<property name="serviceName">
<bean class="javax.xml.namespace.QName">
<constructor-arg value="http://demo" />
<constructor-arg value="service" />
</bean>
</property>
<property name="endpointName" value="ep" />
</bean>
NullPinterException in l.98 (http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java?view=co)
If the endpoint Object is not set this raises an exception.
simple workaround: pass a dummy object.
should be an easy null-check there.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.