camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ea314 <ea...@ymail.com>
Subject Registering a mina codec
Date Wed, 29 Apr 2009 15:42:22 GMT

Hi, What's the way to register a mina codec (in 1.6)?

Something like,

JndiRegistry registry = new JndiRegistry();
registry.bind("foo", new FooCodecFactory());
context = new DefaultCamelContext(registry);

fails at the bind with a NoInitialContextException. Thanks- E
-- 
View this message in context: http://www.nabble.com/Registering-a-mina-codec-tp23296121p23296121.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message