Hi guys,
I'm using Camel a lot in my work recently and I stumbled upon some
examples in the documentation that had typos or where some lines of code
were missing to have a copy-n-paste'able code snippet right from the
website.
Now my question is: how I can contribute to the documentation?
Hi
Yes print, sign, and email a scan of the ICLA to Apache.
Then your name will show up on this page
http://people.apache.org/committer-index.html
And when that does, then create an account on the Camel wiki. eg click
that edit button in the bottom, and create a new account (if you dont
have)
Thanks Aki for your thoughts ..
Yes, I should call setNamespaces() .. but I need namespace Map which I can pass
to ..
So, my question remain same .. is there any API or service .. which I can use
to get Namespace Map ..
And I hv Camel Exchange and Camel Endpoint object with me ..
Parsing
Forget it - just figured it out as not a problem besides on my side :-)
--
View this message in context:
http://camel.465427.n5.nabble.com/RejectedExecutionException-from-jmsProducer-while-using-global-onException-handler-tp5742479p5742486.html
Sent from the Camel - Users mailing list archive
To add, the
exchange.getIn().getHeader(start)
in the processor doesn't work either.
--
View this message in context:
http://camel.465427.n5.nabble.com/JAX-RS-and-Camel-Except-1st-QueryParameter-all-others-are-null-tp5742470p5742487.html
Sent from the Camel - Users mailing list archive at
Hi,I was wondering if anyone has had any success using the camel hdfs
component with a hadoop 2.x cluster in servicemix. I got an IPC version
misatch issue when I tried this. I forked the camel-hdfs component, modified
the hadoop dependencies and with very little change to the component got it
Hello all, as you can see I am quite a beginner using Camel. I am trying to
create a very basic Eclipse project using Camel and Maven but somehow I
always end up with errors and it simply doesn't seem to work.
- I have tried copying folders from other projects and change the name but
then maven
Hi,
Can you please double check that
camelMessage.getHeader(Exchange.HTTP_QUERY, String.class)
returns the complete query string ?
I wonder if it's an issue with SimpleCxfRsBinding#bindParameters ?
Raul, can you please comment ?
Thanks, Sergey
On 01/11/13 02:53, arunodhaya80 wrote:
Hi, I
Hi,
Can you please double check that
camelMessage.getHeader(Exchange.HTTP_QUERY, String.class)
returns the complete query string ?
I wonder if it's an issue with SimpleCxfRsBinding#bindParameters ?
Raul, can you please comment ?
Thanks, Sergey
On 01/11/13 02:53, arunodhaya80 wrote:
Hi, I
Thanks, I am working on it.
I have a few questions however, why do I need to use ActiveMQ? I can I not
simply use the JMS?
And do I really need fuse? I know my processes may be in different machines,
but isn't Camel supposed to be able to deal with that?
--
View this message in context:
By the way, the workaround is to access all the query parameters from
JAX-RS UriInfo; we'll still need to resolve this issue though
Cheers, Sergey
On 01/11/13 12:44, Sergey Beryozkin wrote:
Hi,
Can you please double check that
camelMessage.getHeader(Exchange.HTTP_QUERY, String.class)
Am 2013-11-01 09:33, schrieb Claus Ibsen:
And when that does, then create an account on the Camel wiki. eg click
that edit button in the bottom, and create a new account (if you dont
have)
So when your name is on the ICLA list above, then we can grant your
account edit rights.
Ok, this happened
It helps when you have someone on the Camel PMC that does the ICLA filings. :)
On Fri, Nov 1, 2013 at 9:35 AM, Carsten Ringe cars...@kopis.de wrote:
Am 2013-11-01 09:33, schrieb Claus Ibsen:
And when that does, then create an account on the Camel wiki. eg click
that edit button in the
I have created a JIRA ticket CAMEL-6926 and attached a patch.
Thanks,
Amit Patel
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-HTTP4-2-11-2-ContentType-does-not-returns-multipart-form-data-boundary-j2radvtrk-tp5742407p5742496.html
Sent from the Camel - Users
Hi Pedro,
Assuming you're using maven3, you can use the interactive create
archetype process:
$ mvn archetype:generate -Dfilter=org.apache.camel.archetype:
This will allow you to pick the type of camel project you want to
create, the version of camel you're using and set the group,
Hi
Welcome to the Camel community.
Actually there's nothing you should do manually, e.g. creating a pom.xml by
yourself. Take a look at the documentation to see how to make use of the
Camel archetypes:
http://camel.apache.org/camel-maven-archetypes.html
Googling a bit you would also find bunch
I am reading the Camel in Action book, however it doesn't teach me how to
create projects. The code is all done for me and all I have to do is to run
it. I have never used Camel not Maven before, so I have no idea on how to
use such tools.
As for archtypes, I have no idea what that is. Do you
Hi,
I am in the process of building routes, starting with the interactive
archetypes, and was wondering why there are archetype projects for
camel-blueprint, spring-dm, and cxf-contract-first-blueprint that are
all OSGi ready, but nothing for a Java DSL project. Is it possible to
create an
Pedro,
To simplify it, initially think of maven as a black box - the
interactive archetype will help you create the projects you need without
having to learn the details of maven. This will give you the
opportunity to focus on Camel.
You may also want to consider picking up a copy of
Welcome to the community.
Just a comment on the CiA book. Yeah somehow the chapter about how to
create new projects landed as chapter 11. Though we did give a little
hint in the preface that readers should check out this chapter earlier
if they are not familiar with Maven etc.
So a Maven
Thanks a lot for helping out and the heads-up.
Yes, you are right. I could get the query portion alone using:
String query = exchange.getIn().getHeader(Exchange.HTTP_QUERY,
String.class);
Taking up from your hint, I am doing the following and my flow looks
complete :
***Interface ***
Yeah
When you use OSGi its recommended to use the blueprint archetype that
creates a blueprint xml file. This is needed as then you let blueprint
bootstrap the application.
If you dont have that, its much more manual work to do that in OSGi
where you need to use an OSGi Service Activator and 10
Hi
Karma granted. So thanks for wanting to help with the documentation.
Hope that its jus the first step for helping in other areas as well.
On Fri, Nov 1, 2013 at 2:35 PM, Carsten Ringe cars...@kopis.de wrote:
Am 2013-11-01 09:33, schrieb Claus Ibsen:
And when that does, then create an
Camel doesn't provide any JMS broker, if you use the camel-jms component,
you need to setup a JMS broker (server) to let camel-jms connect.
Fuse provides the HA and Failover feature which camel doesn't provide.
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web:
I thought I made it clear in my original question, but I guess not. What I'm
trying to is *not* have to specify in my xpath.
/nsprefix:book/nsprefix:chapter is extremely cluttered and redundant.
It be much better if we could just specify:
/book/chapter and tell the processor what the
Hey, thanks for all the help guys!
I am now reading chapter 11 of the book but I am having some problems using
the m2e eclipse plugin. The problem is that when I try to create a maven
project, the camel archetypes don't appear.
I decided to take 4 screenshots to save your time and and so you can
Hi
You cannot do that, as its not supported by the xpath expression api
that comes with java. Many before you have tried. You can
google/search the web about this.
Though you can use local-name() in the xpath expression, then you can
avoid the namespace prefix binding. But it clutters the xpath
Hi
It may take a while for Eclipse to index the maven archetypes I think.
You can also try on that filter wizard page, to change the catalog.
And btw what version of Eclipse do you use? The later release have the
m2e plugin out of the box, so you didnt have to install it.
On Fri, Nov 1, 2013
Hi, thanks for making it work;
You might want to reuse (CXF) JAXRSUtils.getStructuredParams(query, ),
this will return JAX-RS MultivaluedMap which will hold list values, and
will take care of parameters having multiple values (a=1a=2, etc).
I'm still not sure how it can be resolved with
Wow. Thanks for the JAXRSUtils pointer. Works like a charm.
For the benefit of everybody :
class ParameterProcessor implements Processor {
@Override
public void process(Exchange exchange) throws Exception {
MultivaluedMapString, String stringStringMap =
Well, as stated in my previous images, I am using eclipse Kepler, which I
think it is the latest version if I remember correctly.
This is not a loading time problem, eclipse loads all the available
archetypes almost instantly. I have no idea why eclipse is simply being
stubborn :S
--
View this
Alright, now I am getting desperate. After trying (and failing) with Eclipse
I decided to be a good boy and follow the Maven section in the Camel in
Action book.
So, I created a new project with Maven using:
mvn archetype:create \
-DarchetypeGroupId=org.apache.camel.archetypes \
It may affect what JDK version you use. Camel 2.5.0 doesn't support Java 7.
So I suggest to use the latest Camel release instead. It support Java 6 and 7.
-DarchetypeVersion=2.12.1 \
On Fri, Nov 1, 2013 at 5:53 PM, pmp.martins
pmp.mart...@campus.fct.unl.pt wrote:
Alright, now I am getting
Hey Sergey,
I'll take a look.
Thanks for providing a workaround to the user so quickly! ;-)
Regards,
*Raúl Kripalani*
Apache Camel PMC Member Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
It still doesn't work. Now when I use the command:
mvn archetype:create -DarchetypeGroupId=org.apache.camel.archetypes
-DarchetypeArtifactId=camel-archetype-java -DarchetypeVersion=2.12.1
-DgroupId=camelinaction -DartifactId=order-router
I get the following ERRORS
Ok, I see what's happening here.
The SimpleConsumer binding style is truly injecting the parameters into
Camel IN message headers with names: q, start, size. If you add a log all
endpoint just after the CXFRS consumer, you will see the parameters sitting
there as message headers:
Thanks Raul for your help
Cheers, Sergey
On 01/11/13 17:18, Raul Kripalani wrote:
Hey Sergey,
I'll take a look.
Thanks for providing a workaround to the user so quickly! ;-)
Regards,
*Raúl Kripalani*
Apache Camel PMC Member Committer | Enterprise Architect, Open Source
Integration
With following:
split
tokenize token=\r\n /
setOutHeader
headerName=caseCountconstant42/constant/setOutHeader
setHeader
headerName=caseCountconstant42/constant/setHeader
the issue is that the Transaction Handling not happening and is rolling
back the transactions on exceptions.
What behaviour do you want/expect?
Rolling back on exception is a feature of using transactions. That's the
behaviour that's usually wanted.
—
Sent from Mailbox for
Well, I want to thank everyone for their hard work in helping me. I am
posting here because I found a solution to the problem of creating a Camel
project using Maven.
I have to admit, I pretty much lost an entire day around something that
should have taken only a few minutes to achieve. Even
Hi All,
I have got the solution .. :)
I have used xpath expression to get all namespace. Here is the part of code:
String searchAllNamespacesXpathExpr = //namespace::*; // xpath
expr to search all namespace
XPathExpression nsXpath = new
Alright, so let me check if I understand.
Camel needs a JMS implementation. For that I can either choose ActiveMQ or
the camel-jms-component correct?
Well, I am working in a project that uses ActiveMQ, so I will stick with
that.
Now, if I have a Camel project with ActiveMQ, I will have the
First, camel-jms component works as a JMS client not the JMS Broker
implementation.
Camel LoadBalancer provide a failover feature , but it doesn’t support
master/salver feature out of box.
Willem Jiang
Red Hat, Inc.
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
43 matches
Mail list logo