Thanks Claus, that fixed it.but have another problem
now, I changed route as follows and I get exception for .process closure
class MyRouteBuilder extends org.apache.camel.builder.RouteBuilder {
void configure() {
from(direct://foo)
.to(log://camelLogger?level=INFO)
.process {
It's worth noting that if you are not in the context of a test, then making
use of the direct component will not allow for the route to be called
externally.
If you are calling this from a unit test, then you will be able to call your
route with a producer template for
On Thu, Jul 18, 2013 at 10:08 PM, ninadmnaik nni...@gmail.com wrote:
Thanks Willem ! The NET-468 patch was released as a part of the issue:
https://issues.apache.org/jira/browse/NET-468
I guess the ticket is still open because they might need some more unit
tests.
I modified camel-fTP
Hi
Yeah wonder why it cannot infer it as Exchange?
You can take a peak at the unit tests of camel-groovy to see some examples
https://github.com/apache/camel/tree/master/components/camel-groovy
And the docs for groovy dsl is here
https://camel.apache.org/groovy-dsl.html
Though you can try with
Hi,
Perhaps it's with posting your test as well ?
Best regards
Andreas
Am 7/18/13(29) 11:37 PM schrieb Gershaw, Geoffrey unter
geoffrey.gers...@credit-suisse.com:
I'm running this in a standalone java app using Spring. Its camel 2.11.
I was under the impression from the various samples
If you want to invoke the routeļ¼ you still need to send a message to the route,
even the message body and header are empty.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com
Hi,
I am using Quartz Component which run Daily at 20:00 I configured it as
from(quartz://myGroup/myTimerName?cron=0+0+20+1/1+*+?+*).to(jms:queue:outBoundQueue)
It should run untill Dec 31 2013 after that it should stop the rOute.
How can i configure the stop time for this Route
--
View
Hi
Yeah leveldb has more tools. Just google.
The camel-leveldb docs is here
http://camel.apache.org/leveldb
On Thu, Jul 18, 2013 at 9:48 AM, Stefan Burkard sburk...@gmail.com wrote:
Hi Claus
I'm using camel-hawtdb 2.9.6 and (according to the classpath) hawtdb 1.6.
The fact that hawtdb has
Take a look at the CronScheduledRoutePolicy [1]. With this you can specify
the start and stop time for your route. You create your route with the
noAutoStartup!
[1] - http://camel.apache.org/cronscheduledroutepolicy.html
Regards,
Joe
--
View this message in context:
I would like to avoid the lengthy assembly step in the build at the
end when I quickly just build the camel project.
By looking at camel's parent/pom.xml, it seems that it was intended to
not assemble the distribution when built with the fastinstall profile.
profile
idfastinstall/id
// No check is added before creating directories.
if (endpoint.isAutoCreate()){
success = client.makeDirectory(directory);
}
if (!success) {
// we are here if the server side doesn't create intermediate folders so
create the folder one by one
// Added autoCreate check
if
Thanks.
I just read the camel-leveldb page. Do I understand it correctly that the
sync option must be true to avoid message loss on power outage or similar
circumstances where the system goes down unexpectedly?
If yes: is there already an expected release date for Camel 2.12?
Cheers
Stefan
Hi Folks,
I have a route which looks like this:
from(direct:start).setExchangePattern(InOut).to(cxf:myEndpoint).to(bean:myDAO,method:updateRecord)
When the response is received from myEndpoint, the database record is
updated.
myEndpoint typically takes about 5secs to generate a response so I
Read the leveldb docs about the sync. They pretty much tell you that
its safe to run with sync=false.
On Fri, Jul 19, 2013 at 1:38 PM, Stefan Burkard sburk...@gmail.com wrote:
Thanks.
I just read the camel-leveldb page. Do I understand it correctly that the
sync option must be true to avoid
Thanks for this. Its exactly what I needed. Many of the examples begin with
camel:from uri=direct:start/. Therefore, I assumed that this tag worked
like the Main class of a project. Kicking things off. It appears start is just
another name that can be used with direct and you would need to
Hello,
is there a way to consume files and attach them to a mail without using Java
code, e.g. sticking to a Blueprint definition? I have a folder where a
legacy application places tgz archive files into and I would like to have
them forwarded via SMTP.
Kind regards,
mdo
--
View this
Ok, seems to be pretty easy, if one can put away attachments and stick to
simply sending files via BASE64 encoded body:
from ...
marshal
base64 /
/marshal
to uri=smtp://...
Anyway would be interesting if we can handle attachments in Blueprints
though.
Kind regards,
Hi William,
Attached is zip file with two projects.
1. sample.proxysvc - Contains camel proxy
2. sample.restsvc - Simple rest servic SampleProxySvc.zip
http://camel.465427.n5.nabble.com/file/n5735913/SampleProxySvc.zip e
You will notice that proxysvc enables streamcaching on camel context
18 matches
Mail list logo