Hi thank you,
I just need to load the xml outside project: example if the example is in E
folder of my filesystem

I tried like this:

InputStream is = getClass().getResourceAsStream("E://cameltest.xml");

but it throws me

Exception in thread "main" java.lang.IllegalArgumentException: is parameter
must not be null
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown
Source).

how do i have to do it?


--
View this message in context: 
http://camel.465427.n5.nabble.com/error-while-using-direct-order-tp5498624p5502825.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to