|
I'm still getting used to the servicemix product, so this maybe a newbie question, but here we go...
We're using jboss 4.0.3sp1 and trying to integrate servicemix. The new 2.0 deployer .sar works fine for the quartz and filepoller example, so one of our major hurdles has been overcome. I'm now trying to get the loan-broker example working because this has some example code that seems to be more suited to what we want to use servicemix for.
However, it seems that loan-broker wants to make calls directly to an activemq service (tcp://localhost:61616), but since we are using jboss instead of geronimo that service doesn't exist yet. I've followed the activemq+jboss integration piece here: http://www.activemq.org/JBoss+Integration which was a bit of a chore since the configuration files are incorrect for version 3.2 (but that's a different story). I've followed the directions and now jboss is starting up normally.
My question is, how am I supposed to hook into the activemq+jboss queue now. The loan-broker example gives an error saying it can't connect to tcp://localhost:61616. I'm thinking that since activemq is now part of jboss that address is incorrect. I _think_ the jboss mq port is 8093. Should I be pointing to that port instead or am I going about this in the completely wrong direction?
From the client-side I'm getting this error:
[java] javax.jms.JMSException: Initialization of TcpTransportChannel failed. URI was: tcp://localhost:61616 Reason:
java.net.ConnectException: Connection refused: connect But the weird thing is, I'm getting this error in my jboss console:
12:18:25,031 INFO [ActiveMQAsfEndpointWorker] Endpoint connection to JMS broker failed: Initialization of TcpTransportC
hannel failed. URI was: tcp://localhost:61616 Reason: java.net.ConnectException: Connection refused: connect 12:18:25,031 INFO [ActiveMQAsfEndpointWorker] Endpoint will try to reconnect to the JMS broker in 30 seconds Any idea why this is happening? Any suggestions on how to get this example to work?
Thanks,
Brian
|
- [servicemix-user] loan-broker example question Brian Rook
