Sylvester, This class has been replaced with org.apache.servicemix.jbi.listener.MessageExchangeListener. If you compile your code against ServiceMix 3.3, you should get a deprecation warning for this.
The original class was specific to SMX3 and has been replaced with the new one, which is shared between SMX3 and SMX4. There were no signature changes to the interface, so just replacing the import in your class should make this work again. 2009/1/27 Sylvester <[email protected]>: > Hi, > I've been working with smx 3 and now I'm trying my hand at smx 4. I noticed > that it didn't support any components out of the box. So I just copied them > from the smx 3 distribution. Will this work? > > I am deploying a Bean component that gets invoked by a JMS BC. When I deploy > this I get: > > java.lang.NoClassDefFoundError: > org/apache/servicemix/MessageExchangeListener > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) > > a couple of times in the log before getting: > > INFO | pool-1-thread-1 | FileMonitor | > x.kernel.filemonitor.FileMonitor 349 | Deloying: > \apache-servicemix-4.0-m1\data\generated-bundles\BeanSA-0.0.1-SNAPSHOT.jar > > followed by > > INFO | pool-1-thread-1 | FileMonitor | > x.kernel.filemonitor.FileMonitor 510 | Started: BeanSA [98] > > Why am I getting the NoClassDefFoundError? > > When I send a JMS message, nothing happens. My packaging is same as I'd do > for smx 3. > > Thanks, > Sylvester > > > > > > > -- Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/
