Hi
That is not supported (yet). So you want to preserve the quotes?
So if there is a keepQuotes option you can set to true
@CsvRecord(separator = "," , quote = "\"", keepQuotes=true )
I logged a ticket
https://issues.apache.org/jira/browse/CAMEL-8590
Help on this is welcome
On Wed, Apr 1, 201
If you just want to do the proxy, it could be quit simple to use the mina API
dirtily, you just need to tell the response handler to send the message to
channel which receive the request.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
On Wed, Apr 1, 2015 at 9:33 PM, Ed Welch wrote:
> Ok, I've spent the bulk of my day on this, and have met with some success.
>
> There are a few other gotcha's trying to get swagger to run from karaf.
> (some issues were fought based on my application, for example, i was using
> guava 18, howe
Hi
You can url escape those non ascii values to %NN.
w3cschools has an online
http://www.w3schools.com/tags/ref_urlencode.asp
On Thu, Apr 2, 2015 at 8:21 AM, pallavig wrote:
> I am using graph API of Facebook and I call it through camel framework. My
> query has non ASCII characters (e.g. küçük
what do you see when you open the file with notepad or textpad ?
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Marshal-with-quote-in-CSV-tp5765160p5765180.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am using graph API of Facebook and I call it through camel framework. My
query has non ASCII characters (e.g. küçük). I am getting the following
exception:-
Cause:
org.apache.commons.httpclient.URIException: Invalid query
at org.apache.commons.httpclient.URI.parseUriReference(URI.java:2049)
at
double split? or you can just turn the Object[][] into a list then use spliter
to do the job for you.
--
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 1, 20
It’s hard for the Camel to know if the null body is intend of just a lazy value.
I think you can work around it by setting the message body to be an empty
String instead of null if you don’t want to Camel to process the message any
more.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.co
Hi Willem,
Thanks for your response. I can check the message body for the two command
headers that just need to be written out but not expect a reply.
I think the underlying implementation for Mina2Producer will block my use
case.
I cannot do sync=false and with sync=true the Mina2Producer implemen
Current Camel-Mina2 producer just wait for the response when the endpoint sync
option is true, it doesn’t support to set the reply mode dynamically.
BTW, can you tell if Message exchange pattern by just looking up the message
content?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Hi,
You should call the bind method instead of main.getOrCreateCamelContext() to
add the configured the ActiveMQComponent like this.
main.bind(
"activemq",
amq.activeMQComponent("tcp://ourbrokerserver.workplace.com:61616"));
main.getOrCreateCamelContext() just create a new camel map per call
I am trying to build a prototype using Apache Camel-Mina2 component. We have
our own protocol implementation on TCP and I need to intercept Client -
Server messages using a proxy Component. Existing - TCP Client > TCP
Server
New - TCP Client > Proxy Server -> TCP Server
One of the iss
Hi Surgey
Thanks for the response.
I am running on a tomcat instance on a linux server. The user is a windows
user which is setup on our Windows Domain controller.
I did try updating the (within the )
element to include an AuthorizationType:
DomainName\${tod.user.userna
ain user?
> Hi
> I am having trouble calling an NTLM protected service from my route. When my
> route sends data to endpoint rsClient below it looks as if the conduit
> config is not applied. I see the following in the logs:
> 20150401 10:21:18,929 EDT DEBUG http.HTTPConduit [Camel
Please excuse my lack of experience with Kafka, but I understood that for
redundancy purposes, a cluster would generally contain multiple brokers and
that a producer woudl try to connect to any of a list of them.
If that's true, how might I tell Camel about the availability of multiple
brokers. I
Ok, I've spent the bulk of my day on this, and have met with some success.
There are a few other gotcha's trying to get swagger to run from karaf. (some
issues were fought based on my application, for example, i was using guava 18,
however swagger brings with it guava 15 creating some dependen
I'm trying to add the correct tcp:// connection url to the camel context in a
standalone/Java DSL camel app and am using a boot() method that was pulled from
example code on the camel site. In my boot() method I'm trying to add the
correct URL to the camel context but it's not getting added. Whe
And if I learn to search Jira properly, I find the issue now too :/
https://issues.apache.org/jira/browse/CAMEL-8568
Thanks Claus
On Wed, 1 Apr 2015 16:42:40 +0200, Claus Ibsen wrote:
> Hi
>
> See the known issue section at
> http://camel.apache.org/camel-2150-release.html
>
> On Wed, Apr 1,
Hi
You have maybe mis-read the page, there is no handled="true" on that page
However there is a logHandled="true"
On Wed, Apr 1, 2015 at 4:05 PM, contactreji wrote:
> Hi
>
> I have used following in my camel context
>
> deadLetterUri="log:dead">
> logHandled="true" asyncDelayedRedelivery=
Hi
See the known issue section at
http://camel.apache.org/camel-2150-release.html
On Wed, Apr 1, 2015 at 4:24 PM, Ed Welch wrote:
> With the release of 2.15.1 fixing a bug that prevented 2.15 from working in
> an OSGi environment, figured I'd give camel-swagger feature a try...
>
> 2015-04-01 0
Hi
I am having trouble calling an NTLM protected service from my route. When my
route sends data to endpoint rsClient below it looks as if the conduit
config is not applied. I see the following in the logs:
20150401 10:21:18,929 EDT DEBUG http.HTTPConduit [Camel (camel) thread #0 -
JmsConsumer
I'm creating csv file using Camel Bindy. using 2.12 version.
In bindy model I have used
@CsvRecord(separator = "," , quote = "\"" )
when i open csv file values are coming without quotes but I need all the
values with double quotes.
"ABC","TEST","CG","QEQE"
--
View this message in context:
With the release of 2.15.1 fixing a bug that prevented 2.15 from working in an
OSGi environment, figured I'd give camel-swagger feature a try...
2015-04-01 09:52:38,672 | ERROR | qtp3964738-67| FeaturesPlugin
| 88 - org.apache.karaf.webconsole.features - 3.0.3 | Can't insta
Hi
I have used following in my camel context
But when I validate, I get error as
*cvc-complex-type.3.2.2: Attribute 'handled' is not allowed to appear in
element 'camel:errorHandler'.*
I was following documentation at http://camel.apache.org/error-handler.html.
Is there someth
Thanks, Alexey
I added the end and then it worked.
Well, Claus was true also: Now, I've understood the parallel processing
is only on one exchange in one EIP at a time.
My sample works, thanks guys!!!
have a nice day
Le 01. 04. 15 15:47, alexey-s [via Camel] a écrit :
> An incident that is ne
Hi everyone,
We have a Camel Processor which can return an Object[][], but how do one deal
with the result if each of the Objects is a message you want to further handle
downstream?
Any help is greatly appreciated.
Regards
Divan Mostert | Head of iO Development
C24.biz
M: +264 81 383 2924
E
An incident that is necessary to call a method .end()
from("...")
.filter()
.to("myprocess")
.to("mock.out")
.end();
Your account is perceived as
from("...")
.filter()
.to("myprocess")
.end()
.to("mock.out");
--
View this message in context:
http
Thanks, You are true.
Sorry, I should have pasted the code where I send exchanges again.
List(0, 1, 0, 1, 0, 1, 0, 1, 0, 1).foreach(x =>sendBody("direct:input", x))
I'm sending 10 exchanges. I hope I'll receive 10 in the end and I'm not
expecting aggregation in fact. I've controlled each sub r
You need to be aware that multicast is sending a copy of the same
incoming message. So the filter is either true or false for all the
messages as they are from the same copy.
So in one case they are all odd, and in another case they are all
even. And then they process about the "same time" and the
Thanks Claus for your answer! I did test but did not succeed into making it
work as I wanted to (change the order of received message). Following your
advice, I've just added the streaming configuration to the multicast eip
such as following, is that correct?
val croute = new org.apache.came
You need to enable streaming mode to have out of order aggregation -
even for multicast. The work is done in parallel, but in non streaming
mode the aggregation happens in fixed order.
On Wed, Apr 1, 2015 at 1:52 PM, Christophe Pache wrote:
> Hello everyone
>
> I have tried to test the parallel
Hello everyone
I have tried to test the parallel processing with Camel. The split was easy
and worked out of the box. I have some surprises and I'm wondering whenever
I'm understanding correctly the expected behaviour with the multicast. In
the Code below, I try to send messages to two routes. The
The Camel community announces the immediate availability of the new patch
release Camel 2.15.1. This release contains a total of 55 fixes applied in the
few weeks by the community on the Camel master branch.
The artifacts are published and ready for you to download[1] either from the
Apache
Hi all,
using the file component I encountered a behaviour that doesn't seem right
to me... but maybe it's an intended behaviour.
Basically the issue shows when I have a route that reads the contents of a
file using the file component and then the message body goes to null. At
this point, any subs
34 matches
Mail list logo