Hi,
for easier reading logs I'd like to append db record id to the
exchange id, but it only works in current route. After the exchange is
sent to queue, the appended part is lost
from("direct:source")
.setBody("id from DB)
.process(exchange->
If you want to have the id transffered over the wire, you cannot use
exchange id, as its transient.
You can use the breadcrumb-id, and plugin a different uuid generator in Camel.
http://camel.apache.org/mdc-logging.html
On Wed, Nov 29, 2017 at 2:40 PM, Dennis Holunder
but as far as I understand uuid generator doesn't have access to the
current exchange, so there is no way to append my id from body to the
exchange id or message id
2017-11-29 15:02 GMT+01:00 Claus Ibsen-2 [via Camel]
:
> If you want to have the id transffered
Sorry to be a pest, I still cannot figure out how to get the netty
component to handle more than 1 MB. I've tried all sorts of configuration
options:
restConfiguration()
.component("netty4-http")
.bindingMode(RestBindingMode.off)
.contextPath("whatever")
Yeah that is correct, so you would have to either overwrite the
existing breadcrumbId header, or use some of your own header for this
"special id"
On Wed, Nov 29, 2017 at 4:45 PM, Dennis Holunder wrote:
> but as far as I understand uuid generator doesn't have access to the
I had a similar situation and i used the MDC logger to add a new header
"x-correlation-id" or "x-header-id" and stored my unique id in the exchange
as well as on the spring endpoint to track my requests.
And with MDCUnitofWork class extension to my class I was able to access my
current exchange as
Well, at least in my case its much easier to overwrite the exchange id
in each route part.
2017-11-29 17:10 GMT+01:00 Claus Ibsen-2 [via Camel]
:
> Yeah that is correct, so you would have to either overwrite the
> existing breadcrumbId header, or use some of
Hi,
Finally i found the configuration for Spring Configuration (Simply
adding OSGI shema)
Thank you for the track to follow
Here is the way.
A) file name ABC-REST-0.0.1.XML deployed containg all routes for the
system ABC.
http://www.springframework.org/schema/beans;
Dears,
thank you for your feedback and I’m sorry for late respond.
Firstly I would like to explain some following points:
- We released the first public version after several years of internal use. We
started working with Camel at 2009 (probably version 2.12) and we sent you
several fixes
Thanks for responding Mary. I have tried to change the
chunkedMaxContentLength setting, but my endpoint still fails when uploading
a file greater than 1 MB (see what I’ve tried below). What I’m trying to
figure out is, how do I configure the netty4-http component to use the
updated
Have you tried the 'chunkedMaxContentLength' setting? Looks like the
default is 1mb
http://camel.apache.org/netty4-http.html
Mary Cochran
Mary Cochran
Red Hat Consulting
mcoch...@redhat.com
(419) 543-0531
On Wed, Nov 29, 2017 at 10:02 AM, Mark wrote:
> Sorry to be a
11 matches
Mail list logo