Dear Srs,
Firstly, I would like to congratulate everybody that is participating in
this free ESB/JBI initiative.
My problem:
I have tried to practice with the Spring Client Toolkit in Eclipse using the
guide http://docs.codehaus.org/display/SM/Spring+Client+Toolkit
Well, I think I installed everything as described.
The eclipse generated the "myFirstComponent", that I truly called
"MavenProj55" and the "mySecondComponent" that I called "MavenProj6".
Compiling into Maven, I have the files:
MavenProj55-1.0-jbi-installer.zip and
MavenProj6-1.0-jbi-installer.zip
Then I did deploy. When I deploy only the second component,
MavenProj6-1.0-jbi-installer.zip (provider) the deploy is successful, but
the first component (consumer) is generating an error. Please, see part of
the servicemix error message above, maybe you could help me:
..
..
[INFO] FileSystemXmlApplicationContext - -Bean factory for application
context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=29071960]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [installationDescriptorExtension,jbi]; root of BeanFactory
hierarchy
[INFO] FileSystemXmlApplicationContext - -2 beans defined in application
context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=29071960]
[INFO] FileSystemXmlApplicationContext - -Unable to locate MessageSource
with name 'messageSource': using default
[EMAIL PROTECTED]
[INFO] FileSystemXmlApplicationContext - -Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[EMAIL PROTECTED]
[INFO] DefaultListableBeanFactory - -Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [installationDescriptorExtension,jbi]; root of BeanFactory
hierarchy]
[INFO] DefaultListableBeanFactory - -Creating shared instance of singleton
bean 'installationDescriptorExtension'
[INFO] DefaultListableBeanFactory - -Creating shared instance of singleton
bean 'jbi'
[WARN] InstallationService - -Component MavenProj6 is already installed
[INFO] AutoDeploymentService - -Directory: install: Finished installation of
archive: MavenProj6-1.0-jbi-installer.zip
[WARN] Broker - -SericeName ({http://tempuri.org/logger}myLogger) specified
for routing, but can't find it registered
[WARN] Broker - -SericeName ({http://tempuri.org/logger}myLogger) specified
for routing, but can't find it registered
javax.jbi.messaging.MessagingException:
javax.jbi.messaging.MessagingException: Could not find route for exchange:
[EMAIL PROTECTED] for service:
{http://tempuri.org/logger}myLogger and interface:
{http://tempuri.org/logger}log
at
org.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:556)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:269)
at
org.servicemix.client.ServiceContext.done(ServiceContext.java:172)
at
org.servicemix.tutorial.TimerComponent.run(TimerComponent.java:68)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)
Caused by: javax.jbi.messaging.MessagingException: Could not find route for
exchange: [EMAIL PROTECTED] for service:
{http://tempuri.org/logger}myLogger and interface:
{http://tempuri.org/logger}log
at
org.servicemix.jbi.nmr.Broker.sendExchangePacket(Broker.java:286)
at
org.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:553)
... 5 more
********************************
Obs: note that in one of the message it is written "sericeName" instead of
"serviceName":
[WARN] Broker - -SericeName ({http://tempuri.org/logger}myLogger) specified
for routing, but can't find it registered.
Thanks
Renato Borelli