camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kapoor <>
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

how do i have to do it?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message