[
https://issues.apache.org/activemq/browse/CAMEL-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44185#action_44185
]
Claus Ibsen commented on CAMEL-693:
-----------------------------------
Thanks for the patch. I decided to more the filter logic up a notch in the
while loop where we should have such filtering logic.
{code}
// osgi bundles should be skipped
if (urlPath.startsWith("bundle:")) {
if (LOG.isTraceEnabled()) {
LOG.trace("it's a virtual osgi bundle, skipping this
file: " + urlPath);
}
continue;
}
{code}
> loadImplementationsInJar of ResolverUtils should ignore virtual bundle jar to
> avoid FileNotFoundException
> ---------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-693
> URL: https://issues.apache.org/activemq/browse/CAMEL-693
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.3.0
> Reporter: Freeman Fang
> Assignee: Claus Ibsen
> Fix For: 1.4.0
>
> Attachments: CAMEL-693.patch
>
>
> for example, some virtual jar like
> bundle:\109.0:1\lib\camel-core-1.4-SNAPSHOT.jar should be ignored by
> loadImplementationsInJar since when try to open it, will get
> FileNotFoundException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.