Yes, this is because the camel-mongodb3 is a refactoring of camel-mongodb and
use MongoClient. --Andrea Cosentino --Apache
Camel PMC MemberApache Karaf CommitterApache Servicemix CommitterEmail:
ancosen1985@yahoo.comTwitter: @oscerd2Github: oscerd
On Thursda
I found the problem.When using mongodb3 as database (not camel component)
MongoClient class must be used instead of Mongo when creating the bean.
LAji
On Wednesday, January 4, 2017 10:46 PM, Andrea Cosentino
wrote:
Did you try with camel-mongodb and not camel-mongodb3?
Il mer, 4
Hi All,
I am on version 2.17 and am splitting a json document and passing bits of json
to a processor. If the processing bean returns null, I want to keep iterating.
If the processing bean returns a Widget, I would like to stop iterating and
have the old exchange contain the Widget. I believe I
Hi
I am trying to invoke a SAOP service using camel route, below is my code
http://${hostname}:${port}/test/SOAPServiceImpl";
id="serviceEndpoint"
serviceClass="com.mycompany.soap.SOAPServicePortType">
*Camel Context:*
http:/
Did you try with camel-mongodb and not camel-mongodb3?
Il mer, 4 gen, 2017 alle 20:09, L F ha scritto:
Hello,
I have a strange situation.
On Karaf 4.0.8, i have installed camel-mongodb3, camel-blueprint, camel-jetty
features.
I try to deploy a simple route, which saves a record to a mongo
Quinn,
I am using Camel 2.18.1 -
Here is a simple example that shows the issues with various {{}},
=$simple{file:onlyname} and ${bean:...} combinations
fileNaming.properties
trace=false
in.path=c:/temp/in
in.path0=c:/temp/test/in0
in.path1=c:/temp/test/in1
in.path2=c:/t
Hello,
I have a strange situation.
On Karaf 4.0.8, i have installed camel-mongodb3, camel-blueprint, camel-jetty
features.
I try to deploy a simple route, which saves a record to a mongodb database, but
it is not working.
I get no error, but the routes are started and then stopped.
If i remove t
I would surely recommend spring-boot.
I't offers a lot of flexibility in terms of testing, deployment options and
auto configuration. The developer experience is awesome, but it takes some
time to get under the hood of all the Spring auto magic. That's something to
be aware off.
In the resent time
Can you provide a simple (complete) example? When I try the following XML with
Camel 2.17.3, I get an IllegalArgumentException - so I can’t reproduce your
results.
http://camel.apache.org/schema/spring";>
> On Jan 3, 2017, at 4:30 PM, Baltej Singh wrote
Hi all,
I am planning a setup where I have an ActiveMQ queue with messages and two
servers with queue consumers, running as "exclusive consumers" (ActiveMQ
ensures only one server consumes messages, if this server fails, the other
one takes over).
The exclusive consumer aggregates the messages, bu
Hi
I am looking for a sample code which implements spring security policy on
camel endpoints. I see all examples in documents are mostly xml dsl.
http://camel.apache.org/spring-security-example.html
Can someone post an example written in java dsl or preferable done in
springboots?
Reji
---
Steve,
the route looks like this (simplified):
${body}
${headers.currentMessage.messageFormatId}
true
${headers
Oliver,
Ok... Is it possible for you to share your route? If you are splitting by
message format, so that each message format goes to a different processor,
then your aggregation will attempt to aggregate the messages of each
different message format together. If, on the other hand, you are
col
Hi Steve,
thanks for your answer.
I could count the number of Messages for each ID, but in respect of
performance it´s not the best solution for me.
--
Oliver
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Aggregator-issue-tp5792131p5792143.html
Sent from the Camel
Hello. Is it possible for you to know the number of messages for each MFO
ID at any time before aggregation begins? If you can determine the number
of messages, put the number in a header and use that header value as the
parameter for .completionSize(). See "completionSize" in the "Aggregator
Op
Hi Jakub,
thanks for your answer.
It´s possible to put the MFO ID into a header, but what could be a possible
completion condition in your example?
The list is always ordered by MFO ID, but the number of Messages for each
MFO ID is always different.
--
Oliver
--
View this message in contex
Hi,
Which version of Camel are you using? Dynamic resolution of wireTap
endpoints was added in 2.16.
Jakub
On 04/01/17 09:25, jshankarc wrote:
Let me know why header was not resolved in wiretap or help me with proper
configuration
from("timer://foo?repeatCount=1")
.s
Hi Oliver,
Assuming that the MFO ID can be placed into a header, you can do:
.aggregate(header("mfo"), myAggregationStrategy)
The first argument to the aggregate statement is a correlation
expression, which effectively defines what messages need to be
aggregated with each other. You can u
Let me know why header was not resolved in wiretap or help me with proper
configuration
from("timer://foo?repeatCount=1")
.setBody(simple("Test Message"))
.setHeader("id", simple("thisIsFileName8"))
.wireTap("logmanager:log?proccode=
What do you mean by load? The OSGi services should not affect
performance at all.
If your dependencies are OSGi ready then the development overhead of
OSGi is minimal. If the dependencies or behaving badly in OSGi then the
development overhead can be big.
On the testing side OSGi has the pro
Hi
Thanks I have updated the page. Takes a bit for sync to html pages.
On Wed, Jan 4, 2017 at 1:07 AM, chandler wrote:
> In URL : http://camel.apache.org/swagger-java.html at the bottom it reads:
>
>
> /Examples
>
> In the Apache Camel distribution we ship the camel-example-swagger-cdi and
> *ca
Hi all,
I´m having problems using the camel aggregator for my use case. First I will
explain the use case itself to hopefully get some answers to solve my
problem.
I fetch n messages (M) from the database, which have different message
formats (MFO) identified by a MFO ID, e.g. M1 = MFO1, M2 = MFO
22 matches
Mail list logo