Hello again,

I found one forum problem resolution about almost same problem (JNDI and
JBossMQ)
but i did not understand the solution when following error occurs:
...
It seems it should be a uri and have a protocol and can 
not just be "ConnectionFactory". 
...
The discussion finally switches on generateJbiDescriptor property setting
but i do not know how fix this JNDI connection issue !

My problem is a little bit different since i want my ServiceMix accesses to
one JMS queue but ServiceMix is not deployed within JBoss.

Is it possible to do this ?
If yes, what is the suitable xbean.xml file.

Rgds,
Christophe.


Tof wrote:
> 
> Hello,
> 
> I am trying to create a JMS writer that posts data into the default
> testing queue named queue/testQueue of JBOSS.
> 
> I have the following xbean.xml for my jms component:
> <beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
>        xmlns:alarm="http://servicemix.apache.org/samples/voda-proto";>
> 
>   <jms:endpoint service="alarm:writeAlarmInJMSQueue"
>               endpoint="jmsWriter"
>               role="provider" 
>               jndiProviderURL="jnp://localhost:1099" 
>               jndiConnectionFactoryName="ConnectionFactory" 
>               destinationStyle="queue" 
>               jmsProviderDestinationName="queue/testQueue" 
>   />
> </beans>
> 
> The deployment fails indicating that ConnectionFactory is unknown !!!
> Please could you help finding correct bean setup ?
> Do i need to create a jndi connection bean ?
> if it is the case where can i find the document that describes this .
> 
> Many thanx in advnace and regard,
> Christophe.
> 

-- 
View this message in context: 
http://www.nabble.com/JMSwriter-in-JBOSS-queue-testQueue-tf4335517s12049.html#a12366640
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to