Hi
Kamelets are for *routes* and not rest-dsl.
On Sun, Feb 11, 2024 at 6:03 AM Rohan Emmanuel
wrote:
> hi,
> i was trying to move the REST dsl mentioned in the snippet below from the
> camel-context.xml to the kamelet yaml file.can anyone advice me on how to
> do this ?
> here, the REST endpo
hi,
i was trying to move the REST dsl mentioned in the snippet below from the
camel-context.xml to the kamelet yaml file.can anyone advice me on how to
do this ?
here, the REST endpoint invokes the ABC service which is defined in the
Kamelet YAML file. was looking to add all camel-related endpoints
Hi Gerald,
Maybe more direct-vm (sync, whereas VM is like SEDA, so async).
Most of the time, I have the "exposing" REST API in one route that
target a "impl" route using direct-vm (where I have my processor, etc).
I split both in separate bundle. The good thing about that is that I can
change the
Dear community,
I wonder whether the VM component will be a good practice to define functional
consumer endpoints for a REST definition in another Camel Context? Background
.. I‘d like to decouple an API implementation from the API definition.
Any hints are welcome.
Sent by my mobile device
-
little bug.
You are welcome to log a JIRA and we can look at getting this fixed
for upcoming releases.
On Fri, Aug 4, 2017 at 11:24 AM, claud...@gmail.com wrote:
Hi,
I'm trying to update from Camel 2.16.3 to 2.19.1 and experience issues using
properties in the REST DSL in blueprint contex
to update from Camel 2.16.3 to 2.19.1 and experience issues using
> properties in the REST DSL in blueprint context.
>
> I have the following config:
>
> path="patient/{patient_id}/events?cutoff_timestamp={cutoff_timestamp}&limit={limit}"
> produces
Hi,
I'm trying to update from Camel 2.16.3 to 2.19.1 and experience issues
using properties in the REST DSL in blueprint context.
I have the following config:
path="patient/{patient_id}/events?cutoff_timestamp={cutoff_timestamp}&limit={limit}"
produces="ap
Hi
There is a you can use and then define the rest-dsl
in the xml files such as
http://camel.apache.org/schema/spring";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
On Wed, Sep 2, 2015 at 3:36 PM, Scott Stroud wrote:
> Is
Hi,
Could you please open a JIRA [1] ticket for this improvement?
[1] https://issues.apache.org/jira/browse/CAMEL
Thanks,
*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/ra
Is the declaration only supported in the (in Spring DSL)?
And not the RouteContext? If not, is there any plan to support in the
?
I believe its a very common approach to define routes into (domain) specific
files and then import them into the camel-context via Spring, then use a
to inclu
Fantastic!
Thank you again!
On Tue, Dec 9, 2014 at 5:21 PM, Claus Ibsen wrote:
> Hi
>
> Yeah found it outs really camel-jaxb that should support this.
>
> So to support your use case in 2.14.1, you set the
> mustBeJAXBElement=false which you can configure on the rest data
> format property.
>
>
Hi
Yeah found it outs really camel-jaxb that should support this.
So to support your use case in 2.14.1, you set the
mustBeJAXBElement=false which you can configure on the rest data
format property.
For example
restConfiguration().component("restlet").host("localhost").port(portNum).bindingMod
I see you are working on this.
I'll follow your fix.
Alan Camillo
On Tue, Dec 9, 2014 at 2:17 PM, Claus Ibsen wrote:
> Hi
>
> Yeah sounds good.
>
> Its this guy
> org.apache.camel.processor.binding.RestBindingProcessor
>
> which we need to enhance to allow the RestBindingMarshalOnCompletion
> p
Hi
Yeah sounds good.
Its this guy
org.apache.camel.processor.binding.RestBindingProcessor
which we need to enhance to allow the RestBindingMarshalOnCompletion
part not to do a jaxb in those situations
On Tue, Dec 9, 2014 at 5:13 PM, Alan Camillo wrote:
> It'll be nice. Imagine could use a t
It'll be nice. Imagine could use a template engine to create some returns and
mix this with some bindings.
I will look the src and if I could help I can try.
Thanks!
Alan
> Em 09/12/2014, às 14:01, Claus Ibsen escreveu:
>
> Hi
>
> Ah yeah as it marshalled using JAXB for IN it defaults to do
Hi
I logged a ticket to track this
https://issues.apache.org/jira/browse/CAMEL-8136
On Tue, Dec 9, 2014 at 5:01 PM, Claus Ibsen wrote:
> Hi
>
> Ah yeah as it marshalled using JAXB for IN it defaults to do the
> reverse on out. But as you have auto mode, we could likely detect that
> if the messa
Hi
Ah yeah as it marshalled using JAXB for IN it defaults to do the
reverse on out. But as you have auto mode, we could likely detect that
if the message body does not have @Jaxb annotations it should use it
as-is. Also we could detect if the body is a String and use that
as-is, as its assume xml
Hello!
I've had some problems trying the new rest dsl from camel and I'd like to
know if there is a way to do this:
restConfiguration()
.component("netty-http")
.host("0.0.0.0")
.bindingMode(*RestBindingMode.auto*)
.port("{{server.port}}");
rest("/mail")
.post("/send")
ntimeException("TEST");
> > }
> > }
> >
> > public MyProcessor implements Processor {
> > public void process(Exchange exchange) throws Exception {
> > System.out.println("This line of code is not called");
> > }
> > }
> >
>
{
> public void process(Exchange exchange) throws Exception {
> System.out.println("This line of code is not called");
> }
> }
>
> MyProcessor is not get called. Helps are needed please!!
>
> Kind regards,
> Leon Chang
>
>
>
> --
> View this message in co
ed");
}
}
MyProcessor is not get called. Helps are needed please!!
Kind regards,
Leon Chang
--
View this message in context:
http://camel.465427.n5.nabble.com/Can-exception-clause-works-with-rest-dsl-in-camel-2-14-0-tp5757381.html
Sent from the Camel - Users mailing list archive at Nabble.com.
21 matches
Mail list logo