I just committed the patch[1] of it into the trunk.
Please check out the camel-2.11-SNAPSHOT to verify the patch.
[1]http://svn.apache.org/viewvc?rev=1387889&view=rev
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: h
Hi,
I have a little problem, I do not know how to implement this idea.
I explained the idea.
I have this bean: .bean(EclatCCTIBean.class,"eclatCCTI");
That it returns: ArrayList >
I want that each element of this table leads to another Beans that takes as
input: ArrayList
Here is an ex
He posted this same question on @dev first where we have given him an
answer already.
On Thu, Sep 20, 2012 at 9:18 AM, kikou1984 wrote:
> Hi,
>
> I have a little problem, I do not know how to implement this idea.
>
> I explained the idea.
>
> I have this bean: .bean(EclatCCTIBean.class,"eclatCCT
Hi
It depends on the version of Camel. The one you use seems to require
spring framework as well. So you need to add those Spring JARs back.
On Thu, Sep 20, 2012 at 9:16 AM, Sura Monday wrote:
> Hi All,
> I have been trying to use a smtp endpoint in a route.
> I have camel-mail.jar in my class
as a quick update - I asked on the fop mailing list about the state of Apache
fop and OSGI before further digging into the issue
Maruan
What osgi environment are you using? And how do you bootstrap Camel in that?
If you use Karaf or SMX with Camel defined in spring-dm or blueprint XML files
then that would work out of the box.
On Wed, Sep 19, 2012 at 8:47 PM, JacobS wrote:
> I am using camel (tried 2.6 and 2.10.1) in an osgi
Yes, I wanted to suggest to add this option ;-)
Thanks for your help
J-M
--
View this message in context:
http://camel.465427.n5.nabble.com/print-a-PDF-with-camel-printer-tp5719615p5719650.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am using virgo web server, and after more digging it looks as though the
problem is that I am not importing 'org.springframework.osgi.core'.
But if I do import 'org.springframework.osgi.core', I am having other issues
in my environment.
--
View this message in context:
http://camel.465427.n5.
Hi Claus,
I don't think your idea will work for me. In my example above I did
statically list all the query parameter combinations, but in my real code
they are generated dynamically. So really my route looks more like:
from("direct:start").process(new
ClassThatGeneratesDynamicUriHeader()).reci
On Thu, Sep 20, 2012 at 10:38 AM, JacobS wrote:
> I am using virgo web server, and after more digging it looks as though the
> problem is that I am not importing 'org.springframework.osgi.core'.
> But if I do import 'org.springframework.osgi.core', I am having other issues
> in my environment.
>
Hi ,
i understood , i used the split like this :
try {
context.addRoutes( new RouteBuilder() {
public void configure() {
from("file:///D:/fileCamel/in?noop=true")
// .bean(InitConcardisBean.class
On Thu, Sep 20, 2012 at 10:50 AM, kikou1984 wrote:
> Hi ,
>
> i understood , i used the split like this :
>
> try {
> context.addRoutes( new RouteBuilder() {
> public void configure() {
>from("file:///D:/fileCamel/in?noop=
Hi
See this page
http://camel.apache.org/cronscheduledroutepolicy.html
You can associate a start and stop time with that policy.
On Wed, Sep 19, 2012 at 11:49 PM, Chandra Kalirasa
wrote:
> Hi Claus,
> Thanks for the response. I am using quartz to scheduling and
> SimpleScheduledRoutePolicy s
Thank you for u r answer.
I ll explain more :)
Here the data :
EclatCCTIBean.class -> public static ArrayList >
eclatCCTI(Exchange exchange)
EclatDBCRBean.class -> ArrayList lstTransac = (ArrayList )
exchange.getIn().getBody();
Suppose that the first Bean contains 5 elements of ArrayList .
1
Unfortunately we cannot open more than one connection at time, so it is not
possible to have two consumers reading the two (actually now it is three)
files at the same time.
IMHO this sounds a bit odd/dangerous way of transferring data between
> parties.
> There is no good way to tell if these 2 f
On Thu, Sep 20, 2012 at 12:18 PM, Gert de Wit wrote:
> Using camel-jms now, but not clear to me how to access the message-headers
> and body from Spring. Can someone some light on this ?
>
Yes I did. I referred you to this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
>
On Thu, Sep 20, 2012 at 12:41 PM, Bilgin Ibryam wrote:
> Unfortunately we cannot open more than one connection at time, so it is not
> possible to have two consumers reading the two (actually now it is three)
> files at the same time.
>
> IMHO this sounds a bit odd/dangerous way of transferring da
We don't know the exact frequency yet, but it is definitely more than 2
seconds, probably up to minute or two, not sure for now.
hhhmmm, I see it is hard to lock/open more than one file over ftp.
Then thinking about some tricks, I haven't check it yet, but if ftp
consumer supports the LastModifie
Hi all
How can I set a dynamic completionInterval in an aggregator?
I can set the values for timeout and size using headers like this
...
${header.AggregateCompletionTimeout}
${header.AggregateCompletionSize}
Why isn't there an analogous element for here?
Invalid content was foun
Here is the MockComponent that I mentioned, you just need to register it into
the camel context, then you can you get what you need :)
package org.apache.camel.component.mock;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.Endpoint;
import org.apache.camel.impl.DefaultCo
Hi all
How can I set a dynamic completionInterval in an aggregator?
I can set the values for timeout and size using headers like this
...
${header.AggregateCompletionTimeout}
${header.AggregateCompletionSize}
Why isn't there an analogous element for here?
I'm using camel 2.10.1.
Thats not possible. The completion interval and timeout are fixed values.
On Thu, Sep 20, 2012 at 1:28 PM, Michael Szalay
wrote:
> Hi all
>
> How can I set a dynamic completionInterval in an aggregator?
> I can set the values for timeout and size using headers like this
>
>
>...
>
>
> $
Hi,
I tried this code :
public void configure() {
from("file:///D:/fileCamel/in?noop=true")
// .bean(InitConcardisBean.class,"initialisation")
.setHeader("TransactionClass",constant("net.awl.bfi
Hi
No, it's not neccessarily at all to add a "jetty-version" property into the
POM of this example as there's already one defined being inherited from the
parent POM, e.g. for the 2.9.3 release it's "7.5.4.v20111024":
https://svn.apache.org/repos/asf/camel/tags/camel-2.9.3/parent/pom.xml
Again
Hi guys,
> from("direct:start").process(new
> ClassThatGeneratesDynamicUriHeader()).recipientList(header("DynamicURI"));
In in opinion using Mock component to validate that class generating
the endpoint address for recipient list is not a way to go.
What you try to do now is to test whether Re
Hi Claus,
I've used the policy that you have mentioned below, I do not see the files are
moved. Am I missing anything in the following code?
Thanks
Chandra
CamelContext context = new DefaultCamelContext();
// add our route to the CamelContext
context.addRoutes(new RouteB
Thanks for the hint, I already updated the Wiki:
http://camel.465427.n5.nabble.com/CONF-Apache-Camel-gt-Tutorial-Example-ReportIncident-Part1-td5719683.html
And of course you're welcome to dive in and help if you like:
http://camel.apache.org/contributing.html
Babak
domenico wrote
> Hi Babak
I think the user wants to set the response message by leveraging the
mock endpoint.
It could be easier by using sending intercepter.
2012/9/21, Henryk Konsek :
> Hi guys,
>
>> from("direct:start").process(new
>> ClassThatGeneratesDynamicUriHeader()).recipientList(header("DynamicURI"));
>
> In i
Hi Babak
Actually, the tutorial is where I originally started from. I went through
each step and when I hit the above mentioned problem, I tried to run the
canned example from Camel 2.9.2 with the same result.
BTW, the instructions in the Camel Manual (starting page 131 in the pdf
version) do not
Hi Folks,
In my application, I have a number of routes that start-up in a specified
order.
The route that starts first has the responsibility of draining a particular
JMS queue of any messages that may exist on the queue.
While this route needs to start before the other routes start, this route
Hello,
I am new to Camel, I am looking for a example that every day at 12 am my
application need to login into ftp server to get the encrypted files.
Is there any example I can follow?
Regards,
ST
Hi,
You can take a look at the camel-quratz[1] and camel-ftp[2] component.
[1]http://camel.apache.org/quartz.html
[2]http://camel.apache.org/ftp2.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjian
You can set if the route is started[1] when the camel context is started.
Then you can start the route as you want in when the other route is ready.
[1]http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red H
And you can also define a Policy for a camel route to start / stop it
according to cron scheduling :
http://camel.apache.org/scheduledroutepolicy.html
http://camel.apache.org/simplescheduledroutepolicy.html
http://camel.apache.org/cronscheduledroutepolicy.html
On Fri, Sep 21, 2012 at 7:20 AM, W
On 20/09/2012 17:53, surya theva wrote:
Hello,
I am new to Camel, I am looking for a example that every day at 12 am my
application need to login into ftp server to get the encrypted files.
Is there any example I can follow?
Regards,
ST
I have a separate system that runs Quartz in a clustered c
35 matches
Mail list logo