Hi Scott,
The problem occurs when we build our custom Karaf distribution using the
org.apache.karaf.tooling:features-maven-plugin
So there is no running Karaf there. How can
etc/org.ops4j.pax.url.mvn.cfg help in this regard?
Hom
--
View this message in context:
http
(http://scriptengines.googlecode.com/svn/m2-repo/, releases=true,
snapshots=true):
Connection refused: connect
Do you have an idea how to use the feature in combination with a http proxy?
Hom
--
View this message in context:
http://camel.465427.n5.nabble.com/Can-not-use-Karaf-Camel-feature-behind-HTTP-
The journey comes to an end. I managed to create the json endpoint.
It does not use Camel but plain CXF.
This is the final configuration (quite simple actually ;-) ):
http://xyz/types}*"/>
The provider then needs to be registered directly with the rs endpoint
The classloading error is gone now, but I have no idea how register the
jsonprovider with the rs endpoint.
How can this be done?
--
View this message in context:
http://camel.465427.n5.nabble.com/CXFRS-does-not-process-J
In order to configure the JSONProvider, I switched to the server approach:
http://xyz/types}DoItRequest"/>
When I deploy this I g
The provider then needs to be registered directly with the rs endpoint
How can this be done? Is it possible in blueprint or in the java camel
route?
Could you please provide an example?
--
View this message in context:
http://camel.465427.n5.nabble.com/CXFRS-does-not-process-JSON-tp5716343p571
I investigated further and found that in JAXRSUtils.processParameter the
statement
InputStream is = message.getContent(InputStream.class);
returns null.
If I look into the contents of the XMlMessage I see:
class org.apache.cxf.io.DelegatingInputStream
org.apache.cxf.transport.http.AbstractHTTPD
I managed to wire up the bus to the endpoint by adding bus="tb" to the bus
element.
But now I get a NullPointerException. It seems that the
TransformInInterceptor has problems transformig the message. Here is the
stack trace:
2012-07-24 15:30:57,905 | DEBUG | er/v1/json/doit/ | PhaseInterceptorCh
I added a bus to the blueprint context file like this:
After deployment JConsole reveals that the bus is present.
Now I want to wire up the bus to the endpoint like this:
from("cxfrs:///xyz/json?bus=#tb&resourceClasses=" +
Resource.class.getName())
This fails as the bus can
Thanks for the quick reply. I added the transformFeature bean, but it seems
that is has no effect.
I am still getting the same message.
This is what I did in the blueprint context:
http://www.xyz.org/types}DoItRequest"/>
http://cam
Hi,
I've created a cxfrs route as described in
http://camel.apache.org/cxfrs.html (How to consume the REST request in
Camel). I am using SOAPUI to test the endpoint. The resource class is:
/@Path("/")
@Consumes({"application/xml","application/json"})
@Produces({"application/xml","application/json
11 matches
Mail list logo