Hi Raph.,
I make a test case today. I will keep you posted with the jira task if I
raise one.
Regards
JB
Raphaël Delaporte wrote:
Hi Jean-Baptiste,
I'm using the default version of the JMS component with SMX 3.3.1, the
2009.01.
I've checked the trunk as well, and I cannot find the JmsJcaConsumerEndpoint
class in the JmsComponents's array of classes.
Just deploy a <jms:jca-consumer> to reproduce the issue.
Thanks a lot !
Raphaël
2010/1/16 Jean-Baptiste Onofré <[email protected]>
Hi Raphaël,
which version of the JMS component do you use: 2008.01, 2009.01, 2009.02 or
trunk (2010.01-SNAPSHOT) ?
On the trunk, I suspect a bug. The JmsJcaConsumerEndpoint implements
JmsEndpointType, which is correct. But in the JmsComponent's
getEndpointClasses() method doesn't contain the JmsJcaConsumerEndpoint class
(whereas it contains JmsEndpoint, JmsConsumerEndpoint and
JmsProviderEndpoint).
I'm going to try to reproduce your issue. If I can confirm the bug, I will
correct it (and add an unit test).
Regards
JB
Raphaël Delaporte wrote:
Hi,
I've got this error message when I try to deploy jms:jca-consumer endpoint
<loc-message>Endpoint is not of type: [class
org.apache.servicemix.jms.JmsEndpoint, class
org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint, class
org.apache.servicemix.jms.endpoints.JmsProviderEndpoint] but is of type:
class
org.apache.servicemix.jms.endpoints.JmsJcaConsumerEndpoint</loc-message>
<stack-trace><![CDATA[javax.jbi.management.DeploymentException: Endpoint
is
not of type: [class org.apache.servicemix.jms.JmsEndpoint, class
org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint, class
org.apache.servicemix.jms.endpoints.JmsProviderEndpoint] but is of type:
class org.apache.servicemix.jms.endpoints.JmsJcaConsumerEndpoint
at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:59)
at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:97)
at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:520)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:349)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:255)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:63)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
My xbean.xml :
xmlns:jms="http://servicemix.apache.org/jms/1.0"
[...]
<jms:jca-consumer
service="esb:jmsConsumerTransac"
endpoint="jmsConsumer"
targetService="esb:CamelTransac"
targetEndpoint="transac"
connectionFactory="#connectionFactory"
resourceAdapter="#resourceAdapter"
activationSpec="#activationSpec" />
[...]
Any ideas ?
Thanks !
Raphaël
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086
--
Jean-Baptiste Onofré
---------------------------------
HomePage
http://www.nanthrax.net
---------------------------------
Contacts
[email protected]
[email protected]
---------------------------------
OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086