Hi there,
We have a moderately unusual use-case we're having issues implementing.
- Java 8, Camel 2.15.2, Felix w/Camel DSL running in Docker
- UDP server based on camel-netty4 component
- Receiving small (<100 bytes), stateless messages
- Sending small, per-message responses
The problem is perf
Hi Sergey,
Thanks for your reply on this, on the link that you have mentioned the
solution appears to be setting the Response return type for the the
controller, however this doesn't seem to work in my case. In
.bean(new ProcessJsonResponse(), "processBody")
I'm basically returning the result
Hi everyone,
I configure my routing and redelivery policy as follow but it doesn't work:
application/json
After some more digging, here's what I found.
Invoking stop() on camel context shuts down all routes gracefully as per the
log, but two problems I'm seeing after routes are shut down is (I believe)
the cause for JVM not shutting down:
#1) ActiveMQ connection remains open
#2) AbstractInactivityMo
I'm using Camel 2.16.0 with springboot 1.2.6-RELEASE, the app is packaged
and executed using FatJarRouter.
My routes run properly, but I'm having an issue with shutdown. I can
shutdown Camel using setShutdownNowOnTimeout() via JMX, that's not a
problem. But when shutting down Springboot using htt
Figured it out,
bean id="shutdown" class="org.apache.camel.impl.DefaultShutdownStrategy"
--
View this message in context:
http://camel.465427.n5.nabble.com/Setting-timeout-in-Springboot-tp5774874p5774876.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
In Springboot, what is the config parameter name for setting timeout in
DefaultShutdownStrategy from application.properties?
#application.properties
camel.timeout = 10
The splitter will split the file and each of those splitted sub
messages do not have the entire content, but only that chunk of the
message. If you want to read the entire file again, then dont use the
splitter, but just do a from file -> to process, and you can access
the file using java.io.File /
Yeah that's the guy that triggers some osgi code that enlist the camel
context in the osgi service registry at that bundle, which is what the
karaf camel command uses.
See also how camel-scr does some stuff as it does also manually do
some osgi initialization
https://github.com/apache/camel/blob/m
You can check unit tests they often test the various options.
On Wed, Dec 9, 2015 at 2:17 PM, jtoepfer wrote:
> So after digging into the documentation for the last 2 days. There is a
> parameter called routeEmptyResultSet, and it's set to false. This could be
> the problem, but I'm not aware to
When i m trying to get the cache it returns null
StreamCache cache = exchange.getIn().getBody(StreamCache.class);
Do you have an idea how i can retrieve the StreamCache ?
Thxs
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-Stream-Cache-With-Apache-Camel-tp5774856p5
You need the following piece of code to be executed so that your Camel contexts
get published as OSGi services:
context.getManagementStrategy().addEventNotifier(new
OsgiCamelContextPublisher(BundleContextUtils.getBundleContext(getClass(;
Then your Camel contexts will be visible from Camel K
ok, tried that.
CamelContext camelContext = new
OsgiSpringCamelContext(getApplicationContext(),
Activator.getBundleContext());
((OsgiSpringCamelContext)camelContext).setName(contextId);
The OsgiSpringCamelContext constructor is calling
OsgiCamelContextHelper.osgiUpdate(this, bu
Hi Alexis, I'm not sure if you can have multiple SQL Components. Camel has
a registry of components (what I've understood) and when I'd tried to use
two components in the same context I had only just one, this is (I think)
for the way that they registry and why is so easy to auto discovery a
compon
Yea . I have noticed that camel aggregators slow down the throughput in case
of heavy volume files like GB sizes.
Is there any alternative component in camel which can be used in place of
aggregator.
I am talking about use cases which takes in 10 GB files which are new line
tokenized and after
So after digging into the documentation for the last 2 days. There is a
parameter called routeEmptyResultSet, and it's set to false. This could be
the problem, but I'm not aware to set this? Looking at the code doesn't
seem really obvious. Some direction would be helpful if i'm on the right
trac
You need to create them as osgi camel context, and do a bunch of osgi
initialization to make that work. Its not so easy to do but see in
camel-core-osgi source code
On Wed, Dec 9, 2015 at 1:35 PM, rwijngaa wrote:
> Hi,
>
> I got 2 camel contexts defined in xml and a bunch of others i created
> dy
Add javadoc to the setter methods or both of them so you *actually*
document your component options what they are intended for.
On Wed, Dec 9, 2015 at 2:01 PM, Roman Vottner wrote:
> Hi there,
>
> we use Camel 2.16.0 and are currently developing a Camel component and on
> trying to build an arti
Hi there,
we use Camel 2.16.0 and are currently developing a Camel component and on
trying to build an artifact using „mvn clean install“ or „mvn clean package“
the build fails due to: Missing component documentation for the following
options: … as the component class defines a getter and sette
I m using stream caching with this example below.
I have three routes.
First, I used the split streaming with a token "\n", reading a file splitted
by line.
Then I made a business process :
Hi,
I got 2 camel contexts defined in xml and a bunch of others i created
dynamically with:
CamelContext camelContext = new SpringCamelContext(applicationContext);
The point is, when doing "camel:context-list" in the JBoss Fuse 6.2 console,
is only get to see the 2 (fixed) ones. In hawtio i se
Hi,
I have a camel route which will split the file based on the newline
charterer and writes the data into 3 different files based on some business
logic.
The file is 135MB in size. While running the route, the observation is the
initial processing is pretty good however as the records get proc
22 matches
Mail list logo