Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

CamelBlueprintTestSupport and URL Handler Service

$
0
0
Hello,
I'm trying to use CamelBlueprintTestSupport to simulate how we have our
production setup as but i'm running into a problem. Our production setup
makes use of OSGi URL Handler Service to handle certain URLs that are in our
blueprint files however when using CamelBlueprintTestSupport I can't seem to
register any URL handlers that my blueprint file needs. I'm attempting to
do this by registering an OSGi service of type
org.osgi.service.url.AbstractURLStreamHandlerService with the property
"url.handler.protocol=classpath" which is the scheme of my URL. This works
in our regular OSGi container (Servicemix 4.3.0 btw) but not using
CamelBlueprintTestSupport. For my test I'm using Camel 2.12.1. Any ideas
on what may be the problem?

Viewing all articles
Browse latest Browse all 5648

Trending Articles