Thanks James.

I have since move to camel 1.4 components, cleared my data folder. (great
tip by the way, Claus)

However, I still cannot seem to get a mina:tcp socket listener working. I
open "telnet localhost 42000" and no connection is established.

Does anyone have a working example of an XML defined mina:tcp socket?

    <camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring";>

        <package>com.myco.codec</package>

        <endpoint id="tcp_A"
uri="mina:tcp://localhost:42000?textline=true&amp;sync=false" />
        <endpoint id="tcp_B"
uri="mina:tcp://localhost:42001?textline=true&amp;sync=false" />
                
        <route>
            <from uri="activemq:tcp_A"/>
            <to uri="activemq:qA"/>
        </route>
        <route>
            <from uri="activemq:qA"/>
            <to uri="activemq:tcp_B"/>
        </route>
    </camelContext>

Here is my log if it helps: 
http://www.nabble.com/file/p20362961/activemq.log activemq.log 

I have camel logging set to DEBUG. Anyone know the mina log class? I tried:
"log4j.logger.org.apache.mina". Doesn't seem to work.

Thanks again! I know this is getting arduous.

-- 
View this message in context: 
http://www.nabble.com/Usage-of-Mina-in-camelContext-for-TCP-loop.-tp20348095s22882p20362961.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to