We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This seems to be related to
Is there any fix on this issue ? I'm using smooks 1.6.
The text was updated successfully, but these errors were encountered:
We've also stumbled upon this issue with the following camel route:
from( fileEndpoint ) .convertBodyTo( StreamSource.class ) .process( smooksProcessor )
The problem here is, that the message body conversion creates a StreamSource containing only the file path in the systemIdproperty.
StreamSource
systemId
Therefore, Smooks has to open a new InputStream internally for the file path provided, which will never be closed.
InputStream
The workaround for us is so far to change the message body conversion to an InputStream:
from( fileEndpoint ) .convertBodyTo( InputStream.class ) // <-- change .process( smooksProcessor )
The SmooksProcessor will then wrap that InputStreamin a StreamSource and Smooks will close the stream (by default) once the processing has finished.
SmooksProcessor
Sorry, something went wrong.
No branches or pull requests
This seems to be related to
and
Is there any fix on this issue ? I'm using smooks 1.6.
The text was updated successfully, but these errors were encountered: