Hi
Oh btw I forgot that camel-quartz2-starter has Spring Boot auto
configuration which allows to configure the component options in the
application.properites / yml file and as well from ENV overrides that
SB support. So you can maybe configure it from ENV with
{
"name": "camel.compone
The below seems to work.
--
View this message in context:
http://camel.465427.n5.nabble.com/Get-full-request-url-from-Exchange-tp5726086p5793026.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
I have a route which contains a list of objects in the body and I am trying to
call sql-stored store procedure with batch enabled as below
.
.to("sql-stored:classpath:sql/database_template.sql?dataSource=dataSource&batch=true)
.end();
T
Hi
You can read about the readLock option on the file consumer for ways to do that
On Mon, Jan 23, 2017 at 4:23 PM, sa_james wrote:
> Hi List,
> I have this route that is appending to a file every 5 sec while another
> route is trying to read the same file. How do I get the reader to pick up
> t
Hi
You may need to name the bean quartz2 or what the name you use in your
Camel routes, eg
@Bean(nane = "quartz2")
Spring Boot will use the method name as the component name by default,
so you can also name it
@Bean
QuartzComponent quartz2() {
...
}
but that would be a bit odd to do, so its l
Hi Claus,
I tried by making a QuartzComponent using java config. But this one is not
getting detected in my camel-quartz component.
@Bean
//@Produce(uri="quartz2://myscheduler2?cron=0+0/2+0+?+*+MON-SAT")
public QuartzComponent quartzComponent(){
System.out.
OK, made some progress, but still hitting problems.
The only way I could get it to work is to manually set the
BoxConfiguration when creating the CamelContext.
BoxConfiguration configuration =new BoxConfiguration();
configuration.setClientId("xxx");
configuration.setClientSecret("xxx");
config
Hello all, sorry if this has been covered but this is my first post and I
have searched for ages for this solution.
I see that the from file:/ reader reads one file at a time, and creates an
exchange for each. But my requirement is that I set a from uri as a Quartz
timer, and I would then like to
Hi List,
I have this route that is appending to a file every 5 sec while another
route is trying to read the same file. How do I get the reader to pick up
the file only when an append operation has completed? We know that
tempFile/tempPrefix is prohibited in append mode.
Thanks.
-
Guile Newb
Hi,
Is it possible to replace sslContextParameters for Netty4?
I've tried to do so with processor (not optimal, just for tests):
.process(exchange ->
this.getContext().getComponent(NETTY_COMPONENT, NettyComponent.class)
.getConfiguration()
.setSslContextParameters()
)
.toD();
I put together this complete minimal example (uses Gradle or build):
https://github.com/tdudgeon/camel-cdi-se-example
Tim
On 20/01/2017 12:11, Antonin Stefanutti wrote:
Hi Tim,
DeltaSpike is only used by this Main class to bootstrap Camel CDI in Java SE.
So the dependency is optional to avoi
Already did. Thanks
Aha now I understand
Deprecated: The ${} placeholders can be omitted if the expression starts
with the token, or if the token is only itself.
I was in the mindset of log so token here is of course message?!
So it has always been like that. I thought it was a change from 2
Yes from Camel 3.0 the simple language would require ${ } syntax. Its
a bit to invasive to do this on 2.x
Just add something in from of "exception", eg "An exception was ..."
On Mon, Jan 23, 2017 at 10:34 AM, erik_romson wrote:
> Hi
> I upgraded camel (2.18.1) and my error handling stopped worki
You cannot use JVM or ENV parameters, but you can configure the
propertiesFile with either file: or classpath: as prefix to load it
from either of those.
Its using Camel's ResourceLoader (Helper) so we could consider adding
support for specifying an ENV or JVM prefix so its using that, eg
propert
You can configure a box configuration on the component level with your
login details.
On Mon, Jan 23, 2017 at 11:54 AM, Tim Dudgeon wrote:
> Is there a workaround that can be used with the current code?
>
>
> On 22/01/2017 17:11, Claus Ibsen wrote:
>>
>> Hi
>>
>> Can you log a ticket as its a bug
Hi Claus,
I am using the suspend/resume route mechanism as you suggested.
in RoutePauser implements Processor class:
final CamelContext camelContext = exchange.getContext();
//resuming main route in 30 secs
scheduler.schedule(() -> {
System.out.println("resume route for
"+exchange.getIn().
We have a spring boot backed camel project and we are using a camel-quartz2
component . The problem is by default the quartz.properties file is expected
to be present in org.quartz directory inside the src/main/resources
directory . Is there any possible way where i can give the location of the
qua
Hi
I upgraded camel (2.18.1) and my error handling stopped working. I started
looking at all the wrong places. Anyway I had the log statement
.log(LoggingLevel.ERROR, "exception was caught when doing xyz")
where the exception was expanded and tried to find the method " was caught
when doing x
Is there a workaround that can be used with the current code?
On 22/01/2017 17:11, Claus Ibsen wrote:
Hi
Can you log a ticket as its a bug. The code is not so good with the
shared client stuff.
On Sun, Jan 22, 2017 at 5:56 PM, Tim Dudgeon wrote:
mmm, from this docs this is what is says abou
19 matches
Mail list logo