Hi,
I have find the buggy (??) part.
If I remove the ObjectSerializationCodecFactory from FilterChain, I get
the Message. But this can not be the solution, I'm sure.
> -------------- Server -----------------
> CamelContext context=new DefaultCamelContext();
> // server component
> MinaComponent inComponent = new MinaComponent();
> context.addComponent("in", inComponent);
> final Endpoint inEndpoint = context.getEndpoint(ENDPOINT_INCOMING);
((SocketConnectorConfig)inEndpoint.getConfig()).getFilterChain().remove(
"codec");
((SocketConnectorConfig)inEndpoint.getConfig()).getFilterChain().addLast
("codec", new ProtocolCodecFilter(new
TextLineCodecFactory(Charset.forName("US-ASCII"))));
With this code I get the message.
Daniel