Hi Sergey,
Thanks a lot for the reply. Am following the exact same test. The only
difference i have is that am using cxfrs endpoint instead of jaxrs
endpoint.
The reason am using below is that serviceClass takes an interface and
directly connects it to route but jaxrs needs an implementation.
Hi
In latest Camels cxf:rsServer does not need an implementation, interface
is OK.
Can you start from a working test which you can copy from Camel and then
modify it accordingly ?
Cheers, Sergey
On 11/10/16 16:55, aravind r wrote:
Hi Sergey,
Thanks a lot for the reply. Am following the
Hi
Have a look please at the existing tests:
https://github.com/apache/camel/tree/master/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs
with the the resources located in:
Hi
Am trying to write a Camel Test for my CXFRS Endpoint. The endpoint
invocation is happening fine and the CXF out logger logs the success
response however my Producer template returned exchange is always
populated with a 404 exception end point not found.
All the details are added in this
Hi,
Has anyone had any luck testing the Rest DSL Jetty. I have moved to
2.17.0.redhat-630187 since that's the version that ships with the newly
released Fuse 6.3. I see from the release notes that by default it uses
Jetty9. As far as I am aware my test is using Jetty9 but I keep getting the
Hi,
If you're using redhat version of camel (2.17.0.redhat-630187), then you need
to ask Red Hat about it. If you want to use community version of camel, then
you need to specify 2.17.0 instead of 2.17.0.redhat-630187 in the POM.
Thanks,
Tomo
On 10/11/2016 09:00 PM, owain wrote:
Hi,
Has
Hi,
I am trying to mock rest endpoints in order to test a Custom Processor that
validates restpoints against a JSON Schema, but I am totally lost in terms
on how to write the Test and prove that my process is doing the job. I have
easily had this working:
http://camel.apache.org/mock.html
The delay will control the frequency at which it polls the directory. To
limit the number of files each time, check out maxMessagesPerPoll and
eagermaxmessagesperPoll http://camel.apache.org/file2.html
--
View this message in context:
Dears,
I am using Camel 2.17. I am starting my Kafka route and Kafka component is
started indirectly.
Parametrisation is very simple:
In my log files Kafka components states the following:
Is not clear why it is so, but it is definitely wrong. I would expect proper
values and not id: -1 and
Thanks!!! It worked
From: "Claus Ibsen-2 [via Camel]"
Date: Tuesday, October 11, 2016 at 09:40
To: ValeryN
Subject: Re: Apache Camel and Hystrix Command Name
Hi
I think we made it use the node id as the command name. So
Hi
Yes its a bug you are welcome to report a JIRA ticket
http://camel.apache.org/support.html
Its similar problem in google-drive and google-calendar I assume.
On Tue, Oct 11, 2016 at 1:50 AM, xuloo wrote:
> I'm trying to simply list the messages in a gmail inbox.
>
> I've
Hi
The and XML file do not support interceptors and the likes.
You can however use Spring Boot @ImportReource (or whatever that
annotation is named) to load a plain Spring XML file, where you can
define and do it the old fashion way.
On Mon, Oct 10, 2016 at 9:12 PM, sridharb
Hi
I think we made it use the node id as the command name. So you can try
doing hystrix().id("myNameHere")
On Tue, Oct 11, 2016 at 6:19 PM, ValeryN wrote:
> I'm really happy to see hystrix support though DSL in a latest Apache Camel
> version 2.18.0. My question
I'm really happy to see hystrix support though DSL in a latest Apache Camel
version 2.18.0. My question is - how does one name a hystrix command now?
Let's say if I write -
from("direct:start").hystrix().to("log:out")
Hystrix dashboard will register "hystrix1" command and show stat for it,
Hi,
Thanks for your response. I will try importing the xml file with
interceptors with the required namespace.
I need another clarification related to the interceptors. There is an
intercept strategy which I see is available in camel.
Want to understand the use case for that. Is it an another
Redhat support case 01719112 opened. No drop down for Fuse 6.3 yet in their
support portal. I have will have a play with upstream to see if I can
replicate.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-17-0-Jetty9-Test-failing-tp5788598p5788622.html
Sent from
Tom,
You are quite correct. It is a Red Hat build and I will raise a support
request with them.
O.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-17-0-Jetty9-Test-failing-tp5788598p5788621.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Just was wondering if anyone had thought about a solution to this issue yet?
--
View this message in context:
http://camel.465427.n5.nabble.com/CxfEndpoint-soap-client-usernametoken-authentication-tp5787910p5788623.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You need to do the XML as a regular spring xml file with and
all that stuff.
See
http://camel.apache.org/spring.html
On Tue, Oct 11, 2016 at 9:43 PM, sridharb wrote:
> Hi,
>
> I tried to use *@ImportResource* but I get the error as below,
>
>
Fixed up for camel-google-mail here
https://issues.apache.org/jira/browse/CAMEL-10381
I'll check the other components later but its likely same case.
On Tue, Oct 11, 2016 at 2:16 PM, Claus Ibsen wrote:
> Hi
>
> Yes its a bug you are welcome to report a JIRA ticket
>
Hi,
I tried to use *@ImportResource* but I get the error as below,
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
1 in XML document from class path resource [interceptors.xml] is invalid;
nested exception is org.xml.sax.SAXParseException; lineNumber: 1;
columnNumber:
Hi Sergey,
it worked for me. The reason for failure was the Dependencies in POM i suppose.
org.apache.camel
camel-http
test
${camel-version}
org.apache.camel
camel-jetty
${camel-version}
org.apache.camel
camel-core-xml
test
Background
I'm a newbie to Apache Camel. (3 months)
I have read the testing section to Camel in Action MEAP version.
I have read http://camel.apache.org/testing.html and
http://camel.apache.org/spring-testing.html
I have searched this forum, google and stackoverflow for answers.
I've tried using
Hi
I have the following message I'd like to unmarshal into a POJO with Bindy :
KeyABC=value1:KeyDEF=value2:
It looks like the key (i.e. tag) needs to be an int. Is there any way with
Bindy to handle this kind of format?
Thanks
--
View this message in context:
Can You five me an example? Should i add it to tag or somewhere else?
And why response example value works fine with []?
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-swagger-doesn-t-support-array-of-objects-as-input-type-tp5788557p5788586.html
Sent from the Camel -
Hi to all,I start by saying the i am a junior Java and Camel,I am trying to
zip a folder with ZipAggregationStrategy class but i can't to zip files pdf
large too much, when i get the files they result all damaged.How could I
handle files by large dimensions customing the class
Hello,
I have a route which consumes from a file component and the message end up
to a activemq queue .
I was testing my application to consume a large amount of files. The
consumption's is slow and while i was trying to solve the problem i use the
follow uri:
27 matches
Mail list logo