Hello,
I need a CSV record mapper which would use maps, but ordered ones,
because I need the name of the first header field. Current
implementation creates HashMaps, where the original order is lost.
I tried to implement my own CsvRecordConverter to produce ordered map,
but the interface is not p
Hi
Can you point to where it creates HashMap, maybe we can change that to
LinkedHashMap.
On Wed, Mar 7, 2018 at 12:08 PM, Dennis Holunder wrote:
> Hello,
>
> I need a CSV record mapper which would use maps, but ordered ones,
> because I need the name of the first header field. Current
> implemen
Hi I have simple route triggered by REST api and want to put a message to
kafka
pom.xml: using camel 2.20.0
Camel route:
Error I get
I have tried removing all unknown parameters, and tried simple
Then i get below erro
I can confirm my kafka server is working fine, as i can put message
in camel-csv component
CsvRecordConverters.mapConverter().convertRecord(CSVRecord record)
it calls CSVRecord.toMap() which returns HashMap but CSVRecord is in
org.apache.commons.csv
would be great if you could change it.
2018-03-07 13:13 GMT+01:00 Claus Ibsen-2 [via Camel]
:
> Hi
>
> Can you
Hello
I have simple route triggered by REST api and want to put a message to kafka
*pom.xml*
org.apache.camel
camel-kafka
2.20.0
org.apache.kafka
kafka-clients
org.apache.kafka
kafka-clients
1.0.1
Camle Route:
${header.id}
The options you're trying to use are wrong:
you need to use requestRequiredAcks instead of acks in the uri and brokers
instead of bootstrapServers.
You can find the option here for 2.20.x
https://github.com/apache/camel/blob/camel-2.20.x/components/camel-kafka/src/main/docs/kafka-component.adoc
Hi
If you have any more feedback and ideas for improving that tool you
are welcome to share.
Also we love contributions so code patches / PRs is welcome
http://camel.apache.org/contributing
On Tue, Mar 6, 2018 at 6:01 PM, wrote:
> OK, I will wait for XML support in 2.21, and in the mean time,
Hi
We cannot se HTML emails with screenshots etc. Can you please post plain
text emails.
On Wed, Mar 7, 2018 at 3:18 PM, Ranabroto Ghosh <
ranabroto.gh...@globalcharge.com> wrote:
> Hi I have simple route triggered by REST api and want to put a message to
> kafka
>
> pom.xml: using camel 2.20.0
Hi
Ah okay that is unfortunately in the commons-csv implementation. You
would need to report this to them.
Sadly there is no way to get the mapping on CSVRecord so we can get
the column headers (we could maybe do some reflection as workaround).
On Wed, Mar 7, 2018 at 3:29 PM, Dennis Holunder wr
Many thanks, it worked.
On 7 March 2018 at 14:52, Ranabroto Ghosh
wrote:
> Many thanks, it worked.
>
> On 7 March 2018 at 14:35, Andrea Cosentino-2 [via Camel] <
> ml+s465427n581824...@n5.nabble.com> wrote:
>
>> The options you're trying to use are wrong:
>>
>> you need to use requestRequiredAc
I am sorry, yes i created another post and got solution already. Many
thanks.
On 7 March 2018 at 15:11, Ranabroto Ghosh
wrote:
> I am sorry, yes i created another post and got solution already. Many
> thanks.
>
> On 7 March 2018 at 15:08, Claus Ibsen-2 [via Camel] <
> ml+s465427n5818244...@n5.n
But you could make CsvRecordConverter public, so I could implement the
mapper myself. Or you implement converting of CSVRecord to
LinkedHashMap, shouldn't be a big deal
2018-03-07 16:17 GMT+01:00 Claus Ibsen-2 [via Camel]
:
> Hi
>
> Ah okay that is unfortunately in the commons-csv implementation.
Hi
I logged a ticket and implemented this
https://issues.apache.org/jira/browse/CAMEL-12332
The CsvRecordConverter is a public interface from camel-csv. You can
implement your own, and configure on the dataformat
On Wed, Mar 7, 2018 at 4:26 PM, Dennis Holunder wrote:
> But you could make CsvRec
Thx, In newer camel versions it is indeed public. Unfortunately, I
can't upgrade right now
2018-03-07 16:45 GMT+01:00 Claus Ibsen-2 [via Camel]
:
> Hi
>
> I logged a ticket and implemented this
> https://issues.apache.org/jira/browse/CAMEL-12332
>
> The CsvRecordConverter is a public interface fro
14 matches
Mail list logo