I want to route to different destinations based on the values that are present in the Map. For example, I've a map with key and value. I want to iterate over the Map and want to route the message to different destination based on the key value of…
I need to read all files from the directory and to process each file using consumerTemplate. something like below.
consumerTemplate.receiveBody(directory, File.class)
We exposed an Apache camel-cxf webservice. Using camel processor we are trying to get the soap header that we passed in the soap request from the soapUi client.
The exchange object contains the body of soap message(not soap header). In the…
I need to read a file using apache camel and send to another endpoint as stream.
public class SimpleRouteBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
…
I'm creating an Camel route that consumes data from Cassandra DB using CQL component and I want to pass multiple parameters to the where statement.
How can I pass multiple parameters to construct the prepared stratement internally?
I've checked in…
I have camel route as below
public class MainRouteBuilder extends RouteBuilder {
@Autowired
private CcsRouteCommonProperties commonProps;
/**
* {@inheritDoc}
*/
@Override
public void configure() throws Exception {
…
I have camel processor which reads a file from directory using ConsumerTemplate as shown below
@Component
public class FileReaderProcessor implements Processor {
@Consume
private ConsumerTemplate consumerTemplate;
/**
*…
I have created a camel-route with multiple anonymous innerclass for processors as below:
from("direct:testRoute")
.process(new Processor() {
public void process(Exchange exchange) {
…
We have a camel route where we read a message from an input queue, process it, set some JMS Header( using Exchange.getIn().setHeader(...) ) and then route the message to some output queue. During MQ Failover scenario, the message is redelivered.…
I have camel route which basically used to move files from source to destination as below
public class SimpleRouteBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
…
I need to write a route which scans for files starts with batch and moves to
destination directory.
from(file:source?delay=2000&antInclude=batch*&readLock=changed).to(file:destination);
After starting route, I have created a files in source…
I have hawtio connected to jlokia agent on karaf 4.2.1. But i dont understand how can i connect hawtio to camel route(Spring dsl) deployed in karaf or some bundle? Maybe i need set jlokia agent in camelContext?
Help me please with any…
Planning to call same direct mutiple times using multicast to acheive parallelism and in need to send a parameter to the endpoint.
I wish to use something like "direct:test?param=value1", "direct:test?param=value2" where param and value are set to…
I need to add signature to a file not on the camel exchange, to a detached file using camel pgp. for example sample.json is plain file. after signing using camel PGP there should be two files, one is sample.json and sample.signed