We are in talks when to cut and release Camel 2.8. I suspect it could take a
couple of weeks or more before its released.
You may consider FuseSource distribution of Apache Camel.
We do more frequent releases. And do backport patches and improvements etc.
to older releases.
http://fusesource.com/
And you have camel-xstream JAR on the classpath, and the xstream JAR as well?
And which Camel version are you using?
On Wed, May 18, 2011 at 8:00 PM, Craig Taylor wrote:
> I'm attempting to set up a simple json test and have the following in my
> RouteBuilder ( root is a jetty: prefix)
>
>
Hi all:
I figured this one out.
I found this javadoc on Spring's JMSAccessor class:
/**
* Set the transaction mode that is used when creating a JMS
{@link Session}.
* Default is "false".
* Note that within a JTA transaction, the parameters passed to
> > What benefit would you gain from Camel in this case? If your only goal
> is
> > to
> > expose a POJO service through a Restful interface a simple JAX-RS or
> > Spring
> > MVC/REST service would suffice. Or does the implementation of e.g.
> > findPerson(id) involve the use of Camel?
I forgot to
Hello Viezz,
If your sent exchange is out cabable, you have to read the CamelSmppId from
the out message:
exchange.getOut().getHeader("CamelSmppId");
And you have to set CamelSmppSourceAddr, ... on the in message:
exchange.getIn().setHeader("CamelSmppSourceAddr", "...");
Best,
Christian
On Wed,
> What benefit would you gain from Camel in this case? If your only goal is
> to
> expose a POJO service through a Restful interface a simple JAX-RS or
> Spring
> MVC/REST service would suffice. Or does the implementation of e.g.
> findPerson(id) involve the use of Camel?
Fair question. I want to
What benefit would you gain from Camel in this case? If your only goal is to
expose a POJO service through a Restful interface a simple JAX-RS or Spring
MVC/REST service would suffice. Or does the implementation of e.g.
findPerson(id) involve the use of Camel?
On Wed, May 18, 2011 at 10:19 PM, gon
Hi,
This is quite unusual. I have never run into it before. Do you have a simple
example use-case that I could use to check this out...
Cheers,
Ashwin...
-
-
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a P
Hi,
I do not understand what it is you are trying to do in this example. Why do
you need to create a Polling consumer???
The Camel JMS Endpoint is designed to give you a message when one arrive on
the queue. I do not understand the value of polling for a JMS message. The
whole point of using JMS
Seeing as there have been no answers, let me ask my question in a more
open-ended way. I am looking for a way to provide RESTful services with a Camel
endpoint. I will have two objects in my hierarchy: Person and Account. For each
object I will need to support several methods (search, create, up
sorry, there's some code missing in my previous post, and here's the complete
code:
ProducerTemplate producer = exchng.getContext().createProducerTemplate();
it = taskList.iterator();
while (it.hasNext()) {
t = (Task) it.next();
mcaSenderProcessor.setTask(t);
mes
l_tsall, haven't had a chance to look at this yet, but I'll see what I can do
(in the next week hopefully)...
l_tsall wrote:
>
> Hi again,
>
> Thanks for resolving this issue.
>
> But which is the proper resultType for the very useful xpath function
> distinct-values which returns a sequence
Hello,
I follow the example from camel FAQ about sending multiple message from a
single processor, but I'm not using spring injection, because I set my
application to run standalone as executable jar.
here's my route:
from(smppUri).process(myProcessor);
and here's the code inside myProcesso
I'm attempting to set up a simple json test and have the following in my
RouteBuilder ( root is a jetty: prefix)
from( root + "/test", "seda:test" )
.marshal().json(JsonLibrary.XStream)
.process(new Processor()
{
@Override
This is a great work, i really think stax enhancement around camel is
important.
Just a note, maybe the evaluate method should throw exceptions maybe wrapped
to notify there was an error an be able to catch it with an onException()?
@Xavier: you can probably submit your path here
https://issues.a
Hello,
As a complement the contribution of Romain (who is a collegue of mine, but
in a different team), I would like to submit another component to the Camel
project. This component splits XML inputs with streaming, which, according
to the documentation, is not possible yet. The rule for splitting
Hi,
but I think the test should be written in a way not to depend on how
you are retrieving the file, no?
If you use cygnwin's svn, you will get dummy.txt with the unix
line-ending, LF, as in the original source.
In this case, the test wil fail on windows.
So, what this test is testing is if you
Hi Johannes,
I don't know if there's any best practice. But I think the headers are a
good place for storing meta data containing to the message.
pro class:
- a class is explicit, so you know what properties are available (anyway
- you can store such an object inside the message headers, so t
Thanks a lot for reporting.
Best Regards,
Sergey Zhemzhitsky
Information Technology Division
Troika Dialog, 4, Romanov lane, Moscow 125009, Russia
Phone. +7 495 2580500 ext. 1246
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Wednesday, May 18, 2011 6:45 PM
To
Hi,
I am using Camel 2.7.1 with Karaf 2.2.0 and I am experiencing a weird
behavior. When I restart the bundles that contain my routes *(declared using
camel-spring not camel-blueprint) *I see that* the routes do not stop
gracefully.
*What do I mean by not gracefully? I use camel-jms to consume me
Hi
I have created a ticket to improve the Fuse Security Guide
http://fusesource.com/issues/browse/ESB-1466
2011/5/18 Zhemzhitsky Sergey :
> Hello Claus,
>
> I have already checked this docs, and unfortunately the section about restful
> services security is empty.
> So I wonder is there any do
Hello Claus,
I have already checked this docs, and unfortunately the section about restful
services security is empty.
So I wonder is there any documentation about this topic.
I know that I can configure pax-web module to use client cert auth by means of
org.ops4j.pax.web.ssl.clientauthwanted p
Is there any best practice as to what to use message headers for? I
asked this a few weeks ago on this list but only got one response.
In our project, we were discussing whether to put meta-data like name,
description, timestamp, message source, and others into header fields.
The one reply I got
I am not using DSL in this case, i am setting headers in bean. But headers
are not set...
in route configuration i have
And in java:
public void processHeaders(Message message) {
Map headers = message.getHeaders();
for (Map.Entry
Yep you can store anything you like. The type is java.lang.Object.
If you use the DSL you can do
.setHeader("myHeader", constant(new MyObject())). ...
On Wed, May 18, 2011 at 12:10 PM, tnk wrote:
> Hi,
>
> what values can be stored in message headers (using camel 2.6)?
> Is it restricted only
Hi,
what values can be stored in message headers (using camel 2.6)?
Is it restricted only to String values (like setHeader("MY_HEADER", "string
value"))?
Can I store any Java object (serializable) in message header
(setHeader("MY_HEADER", new MyNewObject()) )
--
View this message in context:
OK, problem identified. I used cygwin for checking out the source code. When
using windows command line the CR+LF are properly converted.
Apologies as it turned out to be a stupid problem.
unmarshall wrote:
>
> Hi Taariq,
>
> I do not use Tortoise as it has in past given many problems. I only
Hi Taariq,
I do not use Tortoise as it has in past given many problems. I only use the
command line svn.
If you use the command line svn using the instructions that are mentioned on
http://camel.apache.org/source.html then you should face the problem, unless
you have some specific configuration th
Hi
I just built on windows too, are you sure it's not your tool?
I use Tortoise, and also update from my IDE, and I didn't have to change any
settings to make it work.
The dummy.txt file looks fine here too.
Taariq
On Wed, May 18, 2011 at 9:41 AM, unmarshall wrote:
> Hi,
>
> I guess in SVN you
Hi,
I guess in SVN you will have to set:
svn propset svn:eol-style native
This would then make sure that if the code is being checked out from windows
then CR+LF is substituted for "enter" and for linux it will substitute LF
for "enter".
Can you check if that property has been set on SVN?
Best
Hi,
The problem is that the file "dummy.txt" has been probably created in Unix
and therefore has line endings with hex code = 0A.
So now when you run the test on windows then it fails as there is no 0D
character which windows would otherwise inject.
Is there an option to checkout sources differe
Hi All,
I took the latest from SVN yesterday and when i try to build it then it
fails as one of the tests is consistently failing -
testToBytes(org.apache.camel.converter.IOConverterTest)
I have attached the test failure result.
The problem is the extra check that has been done for os.name
starts
32 matches
Mail list logo