Hi

Could you try adding camel-mina to the dependency as well.


On Mon, Aug 3, 2009 at 7:43 PM, vincentytran<[email protected]> wrote:
>
> This is my dependancies and properties with version of ServiceMix and Camel.
> I downloaded ServiceMix 3.3.1 binary from the site which is where I copy the
> SA into the hotdeploy folder.
>
> <dependencies>
>    <dependency>
>      <groupId>org.apache.servicemix</groupId>
>      <artifactId>servicemix-camel</artifactId>
>      <version>${servicemix-version}</version>
>    </dependency>
>    <dependency>
>      <groupId>org.apache.servicemix</groupId>
>      <artifactId>servicemix-core</artifactId>
>      <version>${servicemix-version}</version>
>      <scope>provided</scope>
>    </dependency>
>        <dependency>
>      <groupId>org.apache.camel</groupId>
>      <artifactId>camel-hl7</artifactId>
>      <version>${camel-version}</version>
>    </dependency>
>  </dependencies>
>  <properties>
>    <servicemix-version>3.2.3</servicemix-version>
>    <camel-version>1.6.1</camel-version>
>  </properties>
>
> I tried the routeBuilderRef but it resulted in the same error...
>      <camelContext id="camel"
>                xmlns="http://activemq.apache.org/camel/schema/spring";>
>                <routeBuilderRef ref="blah"></routeBuilderRef>
>        </camelContext>
>        <bean id="blah" class="ca.imt.BlahRouteBuilder"></bean>
>        <bean id="hl7codec" 
> class="org.apache.camel.component.hl7.HL7MLLPCodec">
>        <property name="charset" value="iso-8859-1"/>
>    </bean>
>
> --
> View this message in context: 
> http://www.nabble.com/must-be-of-type-org.apache.mina.filter.codec.ProtocolCodecFactory-error-tp24793496p24795068.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to