camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <>
Subject Camel stream with url
Date Thu, 16 Jul 2009 14:32:44 GMT

I have created a unit test to test a file uri with stream :

Here is the url used


but it does not work. Error occurs during the doStop() execution because no
executor has been created at this line
executor =

What is strange is that when the following method is called

   private InputStream resolveStreamFromUrl() throws IOException {
        String u = endpoint.getUrl();
        ObjectHelper.notEmpty(u, "url");
        if (LOG.isDebugEnabled()) {
            LOG.debug("About to read from url: " + u);

the url returned by endpoint.getUrl() is null


Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

blog :

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message