On 12/02/2008, georgiosgeorgiadis <[EMAIL PROTECTED]> wrote: > > Thanks again James, > > I will give it a try and will keep posted. > > One last thing: > > Are there any MINA-Camel examples that I can look through somewhere?
There's a bunch of test cases here... https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-mina/ in here... https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-mina/src/test/java/org/apache/camel/component/mina/ though these all use the default Codecs and don't configure their own. To ease the configuration of your codec, you could create an extension of the MinaComponent that customizes the Codec to use and then bind that new component to some URI scheme of your choosing. e.g. if you chose 'foo' as your new protocol scheme you could then route in Camel via... from("foo://localhost:1234").to("something"); See http://activemq.apache.org/camel/writing-components.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
