Hello fellow listers, I'm trying to achieve the following setup. I need a netty socket, that will accept xml as a byte stream terminated by 0x00. So far I have this config setup in spring DSL
<bean id="nullDelimiter" class= "org.jboss.netty.handler.codec.frame.Delimiters" factory-method="nulDelimiter" /> <bean id="delim-decoder" class="org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder"> <constructor-arg value="8192" /> <constructor-arg ref="nullDelimiter" /> </bean> <from uri="netty:tcp:// 127.0.0.1:5155?sync=false&decoders=#delim-decoder" /> <unmarshal> <jaxb contextPath="com.gameaccount.ermis.events" /> </unmarshal> ..... I also have a separate piece of Mina code that reads an XML file to a byte array, slaps a NULL (0x00) at the end of the array and sends it off..to be met by stoney silence at the netty producer. My question is, have I setup the netty producer correctly with respects to what I want it to do? If I have, at least I know to concentrate my efforts on the client code.. TIA Yiannis
