camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kapoor <borncoolr...@gmail.com>
Subject Re: error while using direct:order
Date Tue, 21 Feb 2012 17:14:17 GMT
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.

Mime
View raw message