Because we need to configure the connector for the JMS component and we can name the component that we configure with any name and register it to the camel context , in some example samples we just name the JMS component with the name of test-jms, and you can use "test-jms://xxx" to specify a JMS component.

You can just treat the test-jms component with JMS component.

For the question of "mina:tcp" and "tcp:", you need to know something about Camel URI, we use the URI scheme to look up the component. In you case, I don't think we have a tcp component registered to camel by default. I don't think your URI of "tcp:" can work.

On 7/25/11 2:28 AM, Robert J. Liguori wrote:
Anyone know why the test-jms component isn't listed here with the rest
of the components: http://camel.apache.org/components.html?

Also, what is the difference between using "mina:tcp" and just "tcp:"?

Thanks.

-- Robert

Sincerely,
Robert J. Liguori
STG Technologies, Inc.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to