Thank you for your reply.
I didn't get exception when I used the mentioned route but I didn't get the
expected behavior.
The mentioned route downloads files from dropbox only one time when it's
start.
I need to have this behavior, download files from dropbox every time I add
new files. When I add
Hi,
> 1- Does DropBox component have the notion of idempotency like file
> component?
Keep in mind that any route can be idempotent. DropBox consumer
doesn't have to be aware of the route idempotency.
from("direct:anyConsumer")
.idempotentConsumer(header("myMessageId"),
MemoryIdempotentRep
[ thread #2 - JmsConsumer[File]] DefaultErrorHandlerERROR Failed
delivery for (MessageId:
queue_File_ID_L-156037291-55755-1393511224324-1_3_1_1_1 on ExchangeId:
ID-L-156037291-55751-1393511222786-0-3). Exhausted after delivery attempt: 1
caught: java.lang.IllegalArgumentException: Size
If I have a route that i call from other routes (via "direct") that does an
HTTP POST. How do I get the file that I want to post into the body of the
message before invoking the .to("http://")?
The problem I'm facing is that, since every "from" in the route gets started
when the route is started,
Here's a bit more information. Here's an abbreviated route:
from("direct:httpApiPost")
.log("@@@1 header value of 'propsId': ${header.propsId}")
.log(" here")
.from("file:ooziejob.property?fileNam
I create an instance of Camel at start up with the jndi registry:
JndiRegistry registry = new JndiRegistry();
// register ejb's in the registry
...
ModelCamelContext context = new DefaultCamelContext(registry);
I'm making heavy use of ejb's in my routes so to make things easier I want
to r
I use the deadLetterChannel errorHandler with useOriginalMessage. However
if using direct-vm for a sub-route then the original message is not sent to
the deadLetterChannel, if an exception occurs in the sub-route.
I see that the problem is that direct-vm creates a new UOW, hence the
sub-route will
Can you please open a JIRA and attach these (test/patch) and approve
us to use this code? I can review it and get it in for you.
On Thu, Feb 27, 2014 at 3:52 PM, Karsten Vileid wrote:
> I use the deadLetterChannel errorHandler with useOriginalMessage. However
> if using direct-vm for a sub-route
Thanks.
I need also to include files that matches the regex pattern (like the
include option in file component). Is that possible?
When I tried the dropbox cosumer, it doesn't poll. I tried to change the
delay but I get the same result, the route run only one time when it starts:
&clientIdentifier=
Hi
It seems there are a few people that need the serial functionality.
Has there been any work done on this ?
I just did a Mina test to read a GPS...
Pretty straight forward...
public class SerialHandler extends IoHandlerAdapter {
// ---
Hi,
somebody Could tell me how to redelivery message in the below case.
I have a client bundle deployed in karaf(used camel 2.10.4 and karaf 2.3.3).
there is a camel route in the client bundle. Code as below:
<--IdOsgiTestProcessor just used to created message body-->
<--processorService is
Apache Camel Route:
from("file:/tmp/test?include=.*.csv").process(new Processor() {
public void process(Exchange exchange) throws Exception {
// set output file name
exchange.setProperty("outputFile",
exchange.getIn().getHeader(Exchange.FILE_NAME, String.class
No this is working as designed.
On Fri, Feb 28, 2014 at 1:01 AM, Christian Posta
wrote:
> Can you please open a JIRA and attach these (test/patch) and approve
> us to use this code? I can review it and get it in for you.
>
> On Thu, Feb 27, 2014 at 3:52 PM, Karsten Vileid wrote:
>> I use the d
I am new to apache camel and I am testing camel-jpa to poll from table and
display records
Following is main class
EntityManagerFactoryentityManagerFactory =
Persistence.createEntityManagerFactory("LoanServicePU");
CamelContext camelContext = new DefaultCamelContext();
JpaComponent
Hi
I think there is API on PropertyPlaceholderDelegateRegistry to get the
delegate which is your jndi registry.
On Thu, Feb 27, 2014 at 10:09 PM, simholte wrote:
> I create an instance of Camel at start up with the jndi registry:
>JndiRegistry registry = new JndiRegistry();
> // register e
Hi,
Do you have a use case that we can use to reproduce the issue and fix the
problem ?
Regards,
On Thu, Feb 27, 2014 at 5:48 PM, sagarsoni wrote:
> [ thread #2 - JmsConsumer[File]] DefaultErrorHandlerERROR
> Failed
> delivery for (MessageId:
> queue_File_ID_L-156037291-55755-139
Hi
I logged a ticket to make this easier in the future
https://issues.apache.org/jira/browse/CAMEL-7257
On Thu, Feb 27, 2014 at 10:09 PM, simholte wrote:
> I create an instance of Camel at start up with the jndi registry:
>JndiRegistry registry = new JndiRegistry();
> // register ejb's in th
Hi
So are you saying you want to call a route with direct, that reads a
file, and sends the file to a HTTP POST?
If so take a look at the content enricher EIP and the pollEnrich method
http://camel.apache.org/content-enricher.html
from direct
pollEnrich
to http
On Thu, Feb 27, 2014 at 8:
Instead of pollEnrich you can also just set the body to a constant of
java.io.File which sometimes can be easier
from direct
setBody(constant(new File("somename")))
to http
On Fri, Feb 28, 2014 at 8:17 AM, Claus Ibsen wrote:
> Hi
>
> So are you saying you want to call a route with direct, that
19 matches
Mail list logo