If we don't stop the timer, does the thread will get stuck and result in
memory leaks? Could somebody please help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Metrics-during-Exception-tp5772948p5773119.html
Sent from the Camel - Users mailing list archive at
Hi,
I have a question regarding the metrics, for the following route :
from("direct:in")
.to("metrics:timer:simple.timer?action=start")
.to("*direct:calculate*")
.to("metrics:timer:simple.timer?action=stop");
If the *direct:calculate* raises an exception, what would be the
Hi,
I successfully configured sql component using the following config.
bean id=sql class=org.apache.camel.component.sql.SqlComponent
property name=dataSource ref=dataSource /
/bean
bean id=dataSource
Is the above problem is a bug or I'm doing it wrong?
Thanks,
Vivek.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-SQL-Using-JNDI-and-Connecting-to-Schema-other-than-default-Schema-tp5770854p5770860.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
Thanks For the response, the particular strategy I'm looking for is to send
the actual payload (before splitting) to the each split route, so that I can
do some updates at all the splitted routes in parallel, instead of
aggregating all the routes and waiting till all the sub-splitted routes
Putting the first result in the header is the only way?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Concatenating-input-and-output-for-an-endpoint-tp5769829p5769845.html
Sent from the Camel - Users mailing list archive at Nabble.com.
from(direct:readsql).to(sql:select * from orders where processed =
false).split(body())
.parallelProcessing().to(direct:split);
from(direct:split).to(sql:select * from orders_address where id=
:#${body[ID]}).log(Message :${body});
Is there a way to concatenate
NVM..
this worked
from(direct:split).routeId(SplitParallel)
.log(Split Message :${body}).log(Split
Message :*${body[ID]}*)
.end();
--
View this message in context:
Hi,
I'm successfully reading queue and parsing it into bean using bindy. But
next I need to insert in to db. What ever the expression I use, it giving
some error. Could some body help in forming the expression for the value
parameter.
-
BodyType
Hi,
I'm getting multiple records using sql and splitting them paralleling for
next route. But not able to get the values from the splitted record.
from(sql:select * from orders where processed = false)
.log(Query Message :${body}).split(body())
Hi,
Thank You, Its working now. I tried that option, may be I made a typo.
Thanks,
Vivek.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Insert-to-DB-after-reading-Fixed-length-message-from-queue-tp5769316p5769363.html
Sent from the Camel - Users mailing list
@Consume(uri = jms:queue:TestQueueOne?concurrentConsumers=10)
public String onMyMessage1(Order order) {
Some logic
}
-- Bean Definition is as follows
@FixedLengthRecord(length = 4)
public class Order implements Serializable {
@DataField(pos = 1, length = 2)
private int
Hi,
Thanks for the quick reply,
I was able to create repository in spring config. but was not able to copy
the file from repository to local file. could you please look at the below
code.
--
bean id=repository
class=org.apache.jackrabbit.rmi.repository.URLRemoteRepository
Hi Gregor,
I'm trying to copy all the files (nt:file) under a node. And i'm not waiting
for lsiterner to listen. I need to copy all the files when ever needed.
I couldn't get the exact syntax anywhere. It would be great help, if you
give me some direction.
I'm trying with the following syntax
Hi,
I'm trying to retrieve the files. I need to write a batch which just
retrieves the files at regular intervals.
I'm trying something like this.
from
(jcr://admin:admin@localhost:8080/jackrabbit-webapp-2.6.0/repository/default/b?recursive=truenoop=true).to(file:\\tmp\\out);
I'm getting
Did you get any working example? If so could you please post the solution.
Appreciate you help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-JCR-examples-tp5746406p5751679.html
Sent from the Camel - Users mailing list archive at Nabble.com.
16 matches
Mail list logo