Hi Christian,
I was solving the exact same problem few years back, here is what I
did: I've created a custom @Handler that performs the JDBC query, the
purpose of which was to return Iterator over the records. The
implementation of the handler used springjdbc-iterable[1] to stream
the rows as they
Hi,
Hmm this looks weird. The predicates order shouldn't matter. Would you file a
JIRA?
Thanks,
Tomo
On 11/10/2016 06:13 PM, sohrab wrote:
I've read the page on NotifyBuilder but I don't think I really understood how
it works. So I wrote below test case to verify it. The results confound me.
In Tomcat you can add
https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/RemoteIpValve.html
Ср, 2 лист. 2016 о 13:51 Jonas Koperdraat пише:
> Hi Zoran,
>
> I've checked and the proxy sets the 'X-Forwarded-Host' header and this
> contains the 'correct' host. The 'Host' header
Hi,
I don't think there's any OOTB adapter for that in camel. However as camel
allows you to use XStream, Jackson, Johnson and Gson for JSON
marshal/unmarshal, if any of these supports JSON API, possibly you can leverage
that feature in camel DataFormat. Otherwise you can add a custom DataForm
Hi there,my task is to execute a JDBC query against a Hive database and
produce rows in csv files. The clue is, that depending on the query
criteria, the number of range from some dozens to some millions. My first
solution was something like this:
from ("...").to ("sql:...") // produces a List>.spl
you need to set the content type as part of the uri options or in the
exchange header (will overite the uri values). See modified section of your
code below:
@Override
public void process(Exchange exchange) throws Exception {
Message in = exchange.getIn()
Hello,
we had got the same problem (ie a attachement file as body).
To resolve it, we have 'force' the content type in the header as :
in.setHeader("contentType", "text/plain");
Best regards,
jmaurin
Camel version : 2.14.1
--
View this message in context:
http://camel.465427.n5.nabble.
Also a good idea can be to look at the existing unit tests of
camel-mail, to see how some of those does it with file attachments.
On Thu, Nov 10, 2016 at 10:18 AM, Andreas A. wrote:
> I'm using 2.17.3. I guess I could try 2.18.0.
>
>
>
> --
> View this message in context:
> http://camel.465427.n
Hi
Yeah you can take a look at how some of the dataformats does that as
they have out of bands streaming support with Camel's stream caching
http://camel.apache.org/stream-caching.html
We love contributions, so you are very welcome to look into this and
provide a PR / patch. And to log a JIRA tic
Hi,
Another thing to look at, are you using a common quartz instance that has
job persistence enabled (e.g. a database job store instead of RAMJobStore)?
John
On Thu, Nov 10, 2016 at 7:10 AM Claus Ibsen wrote:
> Hi
>
> You can maybe use CDI @Produces bean that has a method that produces
> the
Hi
You can maybe use CDI @Produces bean that has a method that produces
the component
@Produces
public QuartzComponent myQuartzComponent(CamelContext camelContext) {
// code here to setup the component
}
That is more normal way of doing stuff like that with CDI.
However can you show us a bi
Sure:
Wildfly 10.1
Apache Camel Subsystem: 4.3.0
I have no routes defined in the standalone-full.xml of wildfly, so the only
entry is:
My application is deployed in an ear file using CDI/deltaspike/Quartz2/
So I have a quartz scheduler up and running.
At the end I want to define my own s
Hi all,
just moved code from dev to testing and found that in real-life the DropBox
component blows apart in OOMs. Seems that it’s using plain BAOS (sic) to buffer
remote data which is not a particularly good idea when you have no idea how big
the files will be (or you’re pretty certain they’re
Hi
Can you tell us a bit more how you deploy and run your Camel
application in wildfly? eg are you using WAR files or wildfly-camel
subsystem or something else?
https://github.com/wildfly-extras/wildfly-camel
And what version of Camel are you using?
On Thu, Nov 10, 2016 at 12:15 AM, freakwave10
I'm using 2.17.3. I guess I could try 2.18.0.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5789989.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I've read the page on NotifyBuilder but I don't think I really understood how
it works. So I wrote below test case to verify it. The results confound me.
(The Groovy script is standalone and fully functioning so feel free to run
it locally.)
Code
===
@Grab(group='org.apache.camel', module = 'cam
Hi Claus,
Thanks a lot. I will try your proposals.
Also it is good news to know that in couple of weeks comes Camel 2.18.1
Best regards,
Seweryn.
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-it-possible-to-get-small-Camel-early-release-with-Kafka-0-10-1-tp5789961p5789
Does camel support JSON API?
REST DSL snippet:
restConfiguration().component("restlet").host("localhost").port(9090).bindingMode(RestBindingMode.json);
rest("/users")
.description("User rest service")
.consumes(MediaType.APPLICATION_JSON)
Hi all,
I have a hard time getting the quartz component to run.
I need to specify a custom quartz.properties file
Unfortunately the quartz.properties is always used from the jar file
included in:
C:\Programs\wildfly-10.1.0.Final\modules\system\layers\fuse\org\quartz\main
Now I tried several way
19 matches
Mail list logo