Why will onException per route not work for you?
Best,
Christian
Am 29.09.2014 15:04 schrieb "Aryan" :
> Hi All,
>
> We have a camel route and we want to handle exceptions per endpoint. For
> example, if the exception is thrown from processor A, we want A number of
> retries, if thrown from proce
Hi,
You can find the camel-2.14.0 xsd here[1], there some new added REST DSL
definitions.
[1]http://camel.apache.org/schema/spring/camel-spring-2.14.0.xsd
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Tw
HI,
Has anybody used camel-restlet component with camel-swagger? How would the
web.xml look?
Alternately, is there a way to use the Restlet Swagger extension with Camel?
Thanks,
Max.
Raised https://issues.apache.org/jira/browse/CAMEL-7880
BTW would the above fix work when there are multiple HTTP resources,
each with their own distinct unmarshalType? i.e. we don't want the one
resource configuration be blown away by the next one. Is this starting
to sound like a VerbDefinition-
Hi,
Could it be that the Camel XSD has not been updated to support Camel
2.14.0? I am not sure if I can see REST DSL constructs in the XSD yet.
Regards,
Max.
I have a simple route for doing file normalization tasks. I have a working
version that goes something like:
myRoute extends RouteBuilder(){
configure(){
from("direct:normalize").process().to("file:filePath?fileName=theFileName");
}}
I have a class that has a CamelContext variable. The implementa
Hi,
a CXF RS Blueprint extension is available (resourceClass attribute) that
can be used to have only the interface supporting the endpoint, I did
not use it but Yuhan showed it to me and it looked very cool
Cheers, Sergey
On 29/09/14 08:15, vrahul wrote:
Thanks Jiang,
I understand why contro
Hello,
I have configured JTA transactions using Bitronix and I have used this
configurations for many years for testing my applications outside the J2EE
container.
Now I am trying to test a simple JMS route using "transacted" attribute as
follows!
I am getting the following error!
*bitronix.
> Am 29.09.2014 um 17:39 schrieb Claus Ibsen :
>
> Hi
>
> Yeah we should likely improve the code to cater for when people use
> custom data formats. Surely most needed for json, as jaxb is well just
> jaxb using camel-jaxb.
>
> The naming should likely just be
>
> "json"
> "json-out"
> "xml"
>
Hi
Yeah we should likely improve the code to cater for when people use
custom data formats. Surely most needed for json, as jaxb is well just
jaxb using camel-jaxb.
The naming should likely just be
"json"
"json-out"
"xml"
"xml-out"
so in is implied, eg so you only use -out if you really need to
On Mon, Sep 29, 2014 at 11:56 AM, Anjenson wrote:
> Hi
>
> I have tried to switch to ActiveMQ just as shown in camel spring-jms
> example. However, it didn't help.
> Can this be due to the fact that I didn't use features.xml?
features.xml is when you use OSGi such as Apache Karaf / ServiceMix /
J
dariusz.skrudlik,
Did you find a way to return the Exception back to the bean ? Please share
the same.
regards
ReDiya
--
View this message in context:
http://camel.465427.n5.nabble.com/How-catch-exception-from-endpoint-which-was-created-in-code-tp5737037p5757202.html
Sent from the Camel - U
Yeah I see your point. BTW the same shortcoming is also given for the case
where binding is XML and not Json, which's the JAXB dataformat being
currently supported. So I guess in cases likes yours we need to
differentiate the DataFormats for the incomming/outgoing playloads, let’s
say something lik
On Sun, Sep 28, 2014 at 6:40 PM, Matt Raible wrote:
> On Fri, Sep 26, 2014 at 1:48 AM, Claus Ibsen wrote:
>
>> Hi
>>
>> On Thu, Sep 25, 2014 at 11:23 PM, Matt Raible
>> wrote:
>> > Hey all,
>> >
>> > I'm starting to develop a new application and I'm researching using
>> Camel's REST DSL vs. Spri
Hi All,
We have a camel route and we want to handle exceptions per endpoint. For
example, if the exception is thrown from processor A, we want A number of
retries, if thrown from processor B, we want B number of retries and so on.
We can handle the exception using doTry and throw our customized e
Thanks for the explanation, Babak.
I think I see a flaw with this which will break anytime someone uses a
custom DataFormat in REST DSL.
Say I define a custom JacksonDataFormat in the registry (quite a
common thing to do especially if you want to enable/disable config on
ObjectMapper) and point t
I have created an osgi bundle with a pop3 camel route for reading mails. When
deployed in servicemix 5.1, the attachments are getting read properly as
expected.
However, the same bundle gives problem in FuseEsb-7.1.0.fuse-047-1_2013. The
contents of message available from within camel exchange(in
i have to create a route that sends a message (SOAP) multiple times to same
endpoint. The only difference in message is that one attribute (xml, set) is
different.
At the moment i am using multicast for this:
MulticastDefinition multicast = rtdmProcess.multicast();
Hi,
The "json" and "outJson" variables you mentioned will *not* resolve to the
same Java object (because of Camel Injector being invoked here behind the
scenes while resolving), well almost always ... depending if e.g. an object
under the name "json-jackson" is already bound to the Camel registery
Hi
I have tried to switch to ActiveMQ just as shown in camel spring-jms
example. However, it didn't help.
Can this be due to the fact that I didn't use features.xml?
2014-09-29 11:33 GMT+03:00 Claus Ibsen-2 [via Camel] <
ml-node+s465427n5757182...@n5.nabble.com>:
> When you use Spring, eg define
Hi,
On our project we have been using Hazelcast for a couple of months now and
we are looking to increase usage of Hazelcast with distributed queues. I
was hoping to use Apache Camel to retrieve and process the messages in our
hazelcast cluster. (The camel route would be deployed together with the
When you use Spring, eg define in a spring xml file,
then you define it the usual spring way - whatever ways you can do in
Spring.
Camel just lookup in the spring application context to find the beans.
- in this case lookup by name, to fine a bean with name "jms" etc.
On Mon, Sep 29, 2014 at 10
Hi
I have went through many examples but they usually are the same. But I have
noticed that when initializing connection in code we also need to add a
component to context.
Could you, please, explain how to do that in xml file?
--
View this message in context:
http://camel.465427.n5.nabble.co
Hi
Yeah check the examples and documentation how to work with Camel and spring.
On Mon, Sep 29, 2014 at 9:38 AM, Anjenson wrote:
> Hi
>
> I have added the following lines inside in order to initialize camel
> context in xml file (I renamed the file to spring.xml):
>
> xmlns="http://camel.
Hi
I have added the following lines inside in order to initialize camel
context in xml file (I renamed the file to spring.xml):
http://camel.apache.org/schema/spring";>
I am not sure whether this makes any difference to disable jmxAgent but it
is done in one of the examples
Thanks Jiang,
I understand why control should not go to service impl. But now my concern
is why we need to write the impl class at all. As in below example I have
create a web service called FeatureService, and in cxf:rsServer tag's
serviceClass attribute we need to pass the above FeatureService's
26 matches
Mail list logo