I am using 2.10.0.redhat-60024 version but still getting the same namespace
not found exception.
Is there is a way to run the compendium namespace camel file in fuse ide/mvn
camel:run.
--
View this message in context:
Did you use blueprint to define the camel context?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On April 14, 2014 at 3:37:45 PM, vrahul (vrahul1...@gmail.com)
Thanks Claus :-) It worked!!
--
View this message in context:
http://camel.465427.n5.nabble.com/Issue-with-SetHeader-Xpath-tp5749368p5750178.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi friends
I was just trying to use Camel JaXB element to unmarshall an incoming XML to
java object.
My code is as follows
camelContext xmlns=http://camel.apache.org/schema/spring;
xmlns:eamns=http://www.ibm.com/maximo;
route
from
Hi,
We are working on project that needs to route soapmessages from one endpoint
to 3, 4, 5 endpoint - a bit like a proxy, but the routing happends based on
a routingkey in the soap header.
We have no problem in using the proxy example from the examples - so a
clean proxy using
Hi Claus, thanks a lot for your help. Unfortunately, it didn't work... My
JBoss version is JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8), can this be
the reason why it doesn't work with camel-jboss6?
What I did in order to try to make it work was:
1.- Add this dependency:
!-- Camel
Hi,
I am trying to process a large file (900MB). I need to send it to a HTTP
remote location: B. But before I send it to B, I need to post some metadata
to HTTP location A.
Because I do not want the content of the file to be sent to A, I move the
file from the body to a header named XomBody.
That's unfortunate. My workaround is to do this. A better/cleaner
solution would be appreciated.
setHeader headerName=process
groovyExchange exchange - println (exchange.in.body)
/groovy
/setHeader
println was just an example. logging is not really what I want to do
in the groovy processor.
Hi,
We are having a groovy route, where we are taking messages from a JMS Queue,
and sending it to a mina or cxf endpoint which currently sends only one
message at a time to the the target system or endpoint waits until it
receives an acknowledgement from the target system in order to send the
Do people normally run ActiveMQ within Karaf or outside of the container?
Usually you would like to put broker as a separated container for many
reasons - scalability, high availability and so forth. Having embedded
broker means also that the systems communicating via that broker are
tightly
Hi Max,
How can I prevent this?
What about storing only a path to the file (File#absolutePath()) in
the header instead of the java.io.File instance?
Cheers.
--
Henryk Konsek
http://henryk-konsek.blogspot.com
On Mon, Apr 14, 2014 at 12:37 AM, vrahul vrahul1...@gmail.com wrote:
I am using 2.10.0.redhat-60024 version but still getting the same namespace
not found exception.
Is there is a way to run the compendium namespace camel file in fuse ide/mvn
camel:run.
No you cannot use camel:run to
Hi
Can you try using Camel 2.12.x or better with the latest 2.13 as the
stream caching support has been improved in these releases.
If its still an issue we may want to take a look at letting Camel
reset the stream cache (if needed) when you use custom event
notifiers.
On Sun, Apr 13, 2014 at
I am trying to process a large file (900MB). I need to send it to a
HTTP remote location: B. But before I send it to B, I need to post some
metadata to HTTP location A.
Because I do not want the content of the file to be sent to A, I move
the file from the body to a header named XomBody.
On Mon, Apr 14, 2014 at 1:45 AM, contactreji contactr...@gmail.com wrote:
Hi friends
I was just trying to use Camel JaXB element to unmarshall an incoming XML to
java object.
My code is as follows
camelContext xmlns=http://camel.apache.org/schema/spring;
Hi
You can use the language component
http://camel.apache.org/language
And make sure to set transform=false.
Then you can essentially call a groovy script.
But remember XML is not a programming language, so writing code in XML
is not ideal.
You would need to use CDATA blocks or have to escape
Hi
i suggest to study some of the EIPs such as multicast, receipient list, etc
http://camel.apache.org/eip
On Mon, Apr 14, 2014 at 2:14 AM, amit.bce amit.bc...@gmail.com wrote:
Hi,
We are having a groovy route, where we are taking messages from a JMS Queue,
and sending it to a mina or cxf
Hi
You can store the message body as a exchange property, and then
replace the body with what meta-data you want to send, and then
afterwards restore the message body with the exchange property to get
the file back.
On Mon, Apr 14, 2014 at 3:11 AM, Max Bridgewater
max.bridgewa...@gmail.com
Hi
What version of Camel do you use?
And see the section _how to get help_ with some pointers what you can do
http://camel.apache.org/support
On Sun, Apr 13, 2014 at 7:41 AM, paulo.neves
paulo.zagalo.ne...@gmail.com wrote:
Hi,I have the follow routes that StartRoute process an Order, splitting
hi,
i want to make a route at same time from my local db to external activemq
queue querying select * from ...
and to another db querying select id from How can i make this ? thank
you in advance..
--
View this message in context:
hi,
i want to make a route at same time from my local db to external activemq
queue querying select * from ...
and to another db querying select id from How can i make this ? thank
you in advance..
--
View this message in context:
Yeah I know that the end() is missing. That was a copy paste error, the
code wasn't the actual route, it had to be trimmed because of proprietary
information and I trimmed a bit too much. Sorry. However I have found that
the real problem is that the AMQ connection factory is not being enrolled
as
Awesome. property works great.
Thanks a bunch.
On Mon, Apr 14, 2014 at 8:58 AM, Claus Ibsen claus.ib...@gmail.com wrote:
Hi
You can store the message body as a exchange property, and then
replace the body with what meta-data you want to send, and then
afterwards restore the message body
Hi Claus
Thanks for that! Can you suggest of there is a way I can use JAXB mashalling
capabilities without Java classes. Can I get the job done by directly giving
a .xsd file to the component.
Reji
--
View this message in context:
Lovely. I found the problem. Posted the solution on stack overflow for the
consumption of others.
http://stackoverflow.com/questions/22994012/jta-transactions-rollback-of-routes-using-directs/23066951#23066951
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003)
So, in the ongoing perfect transaction configuration we have an interesting
use case: Consider the following route in a test:
@Override
protected RouteBuilder createRouteBuilder() {
System.out.println(createRouteBuilder);
return new RouteBuilder(this.context) {
@Override
On Mon, Apr 14, 2014 at 9:28 AM, contactreji contactr...@gmail.com wrote:
Hi Claus
Thanks for that! Can you suggest of there is a way I can use JAXB mashalling
capabilities without Java classes. Can I get the job done by directly giving
a .xsd file to the component.
Not from Apache Camel.
I'm trying to implement a WireTap[1] with Java DSL Fluent Builders[2], which
gives the following example code snippet.
from(direct:start)
.to(log:foo)
.wireTap(direct:tap)
.to(mock:result);
This works if I run a mock example (e.g. camel-example-jms-file). However
if I take the
Hi,
I forgot to mention camel version.
I use apache Camel 10.6 on linux (Fedora 20). I run it on Jboss Fuse, but I
don't use any especific jboss fuse feature.
Thanks for you help,
Paulo
--
View this message in context:
activemq:queue:fdmCaptureQueue
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39
http://www.linkedin.com/pub/robert-simmons/40/852/a39*
On Mon, Apr 14, 2014 at
Sorry prematurely hit send. Try the endpoint I sent. You have to have the
:queue or :topic or the AMQ component cant find it. Also you will need to
make sure you have configured the connection factory for ActiveMQ.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java
Can you create a small test case to show us how to reproduce the issue?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On April 15, 2014 at 3:08:45 AM, paulo.neves
Thanks for the reply guys, once I finish the route/unit tests I will try
with the latest versions.
I ended up creating a utility method to reset the StreamCache when
obtaining the body in our custom EventNotifier and InterceptStrategy.
The route is quite simple:
route
from
Trying to set up a route with transaction handling on a camel, this leads to
connection to the activeMQ drop and reconnect every few milliseconds is this
expected, is there a work around?
Logs showing repeatedly reconnecting to ActiveMQ server:
ActiveMQ FailoverTransport Successfully connected
Thanks, that was it, I guess my question was not really a Camel question but
rather a Spring question.
Here is what I did and this works
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:jee=http://www.springframework.org/schema/jee;
35 matches
Mail list logo