Hi

See the FAQ
http://camel.apache.org/how-do-i-run-activemq-and-camel-in-jboss.html


On Mon, Feb 14, 2011 at 10:12 AM, Bill <[email protected]> wrote:
>
> Hi, all
> My codes is like this:
>
>                                <camel:when>
>                                        <camel:xpath><![CDATA[/wayBill/type = 
> '2']]></camel:xpath>
>                                        <camel:unmarshal ref="jaxb" />
>                                        <camel:marshal ref="json" />
>                                        <camel:to uri="jms:queue2" />
>                                </camel:when>
>
>
> and It runs well in tomcat,but when I put it into jboss,It says:Caused by:
> No type converter available to convert from type: java.lang.String to the
> required type: java.io.InputStream with value
> <wayBill><type>2</type><id>.............................
>
> tks.
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/camel-jaxb-in-jboss-is-not-running-tp3384152p3384152.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to