-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgraded Spring and Camel dependencies
- Loading branch information
1 parent
d9cce79
commit 8fa6409
Showing
4 changed files
with
14 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
src/main/java/eu/odp/harvest/geo/oai/xslt/HttpAwareUriResolverFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package eu.odp.harvest.geo.oai.xslt; | ||
|
||
import org.apache.camel.CamelContext; | ||
//import org.apache.camel.builder.xml.XsltUriResolver; | ||
//import org.apache.camel.component.xslt.DefaultXsltUriResolverFactory; | ||
import org.apache.camel.component.xslt.XsltUriResolverFactory; | ||
|
||
import javax.xml.transform.URIResolver; | ||
|
||
public class HttpAwareUriResolverFactory { | ||
public class HttpAwareUriResolverFactory implements XsltUriResolverFactory { | ||
public URIResolver createUriResolver(CamelContext camelContext, String resourceUri) { | ||
// return new HttpAwareUriResolver(camelContext, resourceUri); | ||
return null; | ||
return new HttpAwareUriResolver(camelContext, resourceUri); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters