Another possible bug: it appears that camel mongodb component does not
support the $push operator for aggregations.
The following does not work, it should aggregate (group) on my_designator,
and $push all occurrences of contributor_ref into an array for each instance
of my_designator into a new a
I replaced the XPATH 2.0 calls with Xalan extensions and now I'm getting:
javax.xml.transform.TransformerException: Extension function:
'{http://exslt.org/dates-and-times}date-time' can not be invoked when the
XMLConstants.FEATURE_SECURE_PROCESSING feature is set to true.
Is there any way out of
Found the answer here:
http://comments.gmane.org/gmane.comp.apache.camel.user/15776
Basically the solution is to declare a transformer factory instance as a
spring bean, ensure it's nonsecure (by simply not setting
FEATURE_SECURE_PROCESSING) and indicate to use that factory in the
transformation s
Is there a way to make an aggregation pipeline create the collection with the
$out operator in Camel?
This does not work:
{$match: { myfield: "myvalue" } } ,
{$group: { _id: "$myfield"}},
{$out : "my_other_collection"}
This works fine, but I have to convert to a java.lang.Object[] and
Hi
You can use pax-exam for integration testing in Karaf containers. Its
a mouthful to learn and use, but its doable.
On Tue, May 13, 2014 at 8:51 PM, reynoldsm88 wrote:
> We are deploying our Camel applications to JBoss fuse using blueprint.
>
> We have 2 maven projects that implement a partic
I defined an XSLT transform in my route using:
.to("xslt:mytransform.xsl")
The stylesheet is XSL 2.0 and is invoking a few 2.0 functions including
current-dateTime.
But I'm getting:
javax.xml.transform.TransformerException: Extension function:
'{http://www.w3.org/2005/xpath-functions}f
Finally i got the root cause of issue and fixed it. It was not actually
related to classpath but it was caused due to wrong DB connection string.
It was defined as :1433;DatabaseName=testdb"/>
as per info from Fuse ESB page JDBC page (table 6) but it should be
:1433;DatabaseName=testdb"/>
Post
First of all, sorry for this mail, but Ive tried many times to unsubscribe to
this list but without any luck.
Even though it says that it knows my username / email (zoo...@gmail.com), I can
not get my pass and thereby unsubscribe on the admin for the list.
Could an admin please unsubscribe me?.
Hi, you have to configure the ActiveMQComponent as this
2014-05-14 3:56 GMT-03:00 dancsi :
> I have a primary and a backup JMS provider/server (Tibco EMS). The backup
> is
> running in standby mode and doesn't allow connections until the primary is
> running fine.
>
> I know that a Camel r
See here http://www.christianposta.com/blog/?p=358
On Wed, May 7, 2014 at 12:00 PM, Richard Yee wrote:
>
> Doyle, Aaron R writes:
>
>>
>> Nevermind, I figured this out. I didn't have enough sessions in the pool.
> I increased the
>> maximumActiveSessionsPerConnection property and it is now work
Hi everyone. Still somewhat new to Camel. I'm trying to put to ether a Camel
integration scenario that routes CSV files to Smooks, then have smooks
unmarshall directly to a MyBatis value object that is published to a queue for
insertion into a database.
I've been able to get a Smooks route conf
Thanks for the reply. I will give it a try but based on the documentation I'm
not quite sure if it works for other non-ActiveMQ JMS provider.
--
View this message in context:
http://camel.465427.n5.nabble.com/JMS-consumer-failover-tp575p5751209.html
Sent from the Camel - Users mailing list
Hi
Willem if you are listening. Sounds like CXF consumer need to do like
http consumer does in CamelServlet, where the consumer creates the UoW
and do the doneUoW after the response has been written by CXF.
Then if CXF fails, then we could detect this and have the UoW fail in Camel.
But that req
Hi, you have to configure the ActiveMQComponent as this
--
View this message in context:
http://camel.465427.n5.nabble.com/JMS-consumer-failover-tp575p5751167.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I asked the question in JBoss Fuse forum as suggested and issue is fixed. It
was coming due to the fact that Commons Collections jar is not part of
default start up. We need to install it separately.
Once I did that, issue is resolved.
Thanks
Shiv
--
View this message in context:
http://camel
Below is a snippet from the camle-osgi example. I can obtain the camel
context but how do I get the original spring application context? Or how am
I supposed to get a reference to "mybean"?
MyRouteBuilder.java:
public class MyRouteBuilder extends RouteBuilder {
public static void main(S
Hi guys, I was interacting with Maven just when the problem occurred.
Since I was able to bypass the 404 adding some dummy parameter to the url
of the resource, my guess is that a reverse proxy in front of the real web
layer cached a page when the resources where not yet available.
HTTP headers s
In order to fix the issue, I have changed the logic of bean which parses the
XML and it is working fine.
But it will be nice to know the root cause of such exception.
Thanks
Shiv
--
View this message in context:
http://camel.465427.n5.nabble.com/ClassCastException-in-XML-Parsing-JBoss-Fuse-ES
Given that certain clients may want to make asynchronous requests or
synchronous requests that return after a certain condition is met, and
assuming that an initial request can result in many exchanges being
processed over multiple routes, what is the best way to make the method
using the producer
Hi,
I had a similar problem deploying OsgiliathEF on central: the
maven-release-plugin says the build was successful but there were errors
with gpg and jar packaging.
Do you have access to the release log to check these things?
2014-05-14 17:13 GMT+02:00 Claus Ibsen :
> Hi
>
> Yeah there is so
hi
Can somebody give me some idea on How to achieve the same using SPRING DSL
Only ...
*client (producer) --> wsdl(consumer) --> camel:cfx --> camel:routers -->
camel:choice --> camel:jdbc --> DB tables.*
I am pretty confused between "jaxws:endpoint" and cxf:cxfEndpoint for
handling th
Now I managed to propagate the message to an inner route and catch it there.
But I don't know how to handle the good case.
If the message is send to the endpoint correctly, I have to reply with
an acknowledge message.
But how does the inner route know if the message is transmitted
correctly to
Gregor Zurowski Thanks for the websites. I'll see the second web page you
sent me in the email. The first use it, but not served me
2014-05-14 23:07 GMT-03:00 Gregor Zurowski :
> Exequiel,
>
> I haven't used the camel-nagios component yet, but there are some
> short examples in the component doc
Hello again,
I apologize for the two double-posts I sent recently. I sent the first ones
before the subscription link kicked in and figured they were lost forever.
Anyway, I implemented this feature for the mail component. I will
eventually submit a patch. This would be really easy but I have to
I've played with it just to see if it works.. anything specific?
On Fri, May 9, 2014 at 2:12 PM, boday wrote:
> now that openwire supported has been added to Apollo...anyone using it with
> Camel JMS yet?
>
> if so, any advice/lessons learned?
>
>
> Claus Ibsen-2 wrote
>> A future release of Apol
On Wed, May 14, 2014 at 10:21 PM, Ramiro Pugh wrote:
> Hi, I'm trying to develop an auditor for every context that exist in Jboss
> Fuse.
>
> I read this post
> http://java.dzone.com/articles/measure-elapsed-time-cameland this is
> the best approach to my solution. But I wish to create one
> sin
Hi,
We have a rest service (uses Jersey) to call a camel route. The jersey
service uses a filter to add a request ID in the MDC. The camel context has
MDC enabled. However, when the camel route gets called ,it no longer has
access to the request id being set in the jersey filter and hence does not
Hi,
have a camel route to receive and decode incoming messages.
Sometimes it can happen the external application on destination endpoint
is not available. Then I get an exception which I can catch and send
back an error message.
If the received message is delivered correctly to the endpoint an
There are third parties that will recognize changes to the spring XML file
and dynamically restart routes, create new ones, etc - on the fly. This
concept is the goal of osgi in my opinion. Today if you want to distribute
changes to your out of the box camel spring app it's still pretty
primitive.
Hi,
There is something called ²JNI² (Java Native Interface) which you should
be able to use to interact between java applications and native
applications. That might be rather complex, depending on what you¹re up to.
A far more tasty alternative is to run Camel separated from your C++ app
as an ²
Hi,
I am using Camel 2.12.3.
I am sending a https get using the following code to remoteHostA :
context.addRoutes(new RouteBuilder() {
@Override
public void configure() {
String userHome=System.getProperty("user.home");
String k
Hi
Set a higher cache size, such as 99 or implement your own
idempotent repo.
For example without a first level cache, so it checks the persistent
file each time etc.
Or contribute to the existing file idempotent repo, to let it check
the file if there was a cache miss.
http://camel.apach
This could possible if you use the Camel Container SPI interface.
package org.apache.camel.spi;
/**
* The Container interface defines an object that can be used
* to customize all Camel CONTEXTS created.
*
* A container can be used to globally intercept and customize Camel
CONTEXTS,
* by re
Thanks for showing the interest. The first post of mine consisting the xml
file which I am using to transfer the file from FTP to local directory. It
is working fine but when it crosses the number of files more than 5000 i.e
the cacheSize value mentioned in the xml , the files are getting added
mul
Hello, I want to serialize the incoming message to XML. I'm starting from the
camel-example-cxf-osgi example.
My Route:
JaxbDataFormat jaxb = new JaxbDataFormat();
jaxb.setPartClass("org.apache.camel.example.reportincident.InputReportIncident");
from("cxf:bean:reportIncident")
Hi
Yeah sure we love contributions. So fell free to log a JIRA ticket and
submit a patch / PR.
http://camel.apache.org/contributing
Another solution could maybe have been for the aggregator repositories
to report back how many exchanges they have during the prepare
shutdown. Then the memory based
Hi ,
I have a requirement that , every day I need to query the database for
updated profile records and then out of those records get the BLOB object
which is in the form of xml.
I need to tranform this (BLOB object ) xml into another xml.
And then create a single large xml file out of all the
Hello,
Here is our requirement:
from("timer://foo?repeatCount=1").
to("stream:url?'url=http://servername/tmp/test.cgi?param1=10¶m2=qa'?").
("file:U://sampleFile?fileName=hello.txt");
When i try the above with an intent of obtaining a http request with two
query params,
and r
38 matches
Mail list logo