You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "huuhoait (via GitHub)" <gi...@apache.org> on 2023/10/25 14:45:03 UTC
[I] Issue format Datetime java [camel-karavan]
huuhoait opened a new issue, #958:
URL: https://github.com/apache/camel-karavan/issues/958
Hi all , there is an issue with jackson format date.
I take simple route with yaml dsl:
- route:
id: route-692d
from:
uri: kamelet:mysql-source
id: from-4e99
parameters:
serverName: localhost
databaseName: simple_admin
username: root
password: '123456'
serverPort: '3306'
query: select * from users
delay: 5000
steps:
- log:
message: 'sqlsourcce: ${body} \n'
logName: out sql source
id: log-5a7f
When this app run, i got error about ; **_"com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDateTime` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: org.springframework.util.LinkedCaseInsensitiveMap["created_at"])"_**
I added dependency: com.fasterxml.jackson.datatype:jackson-datatype-jsr310 and config env:camel.dataformat.jackson.module-class-names=com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
but i can not resolved above issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Issue format Datetime java [camel-karavan]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus closed issue #958: Issue format Datetime java
URL: https://github.com/apache/camel-karavan/issues/958
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Issue format Datetime java [camel-karavan]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #958:
URL: https://github.com/apache/camel-karavan/issues/958#issuecomment-1780807269
This is not really a karavan issue but the kamelet uses jackson and there is some datetime "crap" to deal with.
What JDK version and Camel version do you use.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Issue format Datetime java [camel-karavan]
Posted by "huuhoait (via GitHub)" <gi...@apache.org>.
huuhoait commented on issue #958:
URL: https://github.com/apache/camel-karavan/issues/958#issuecomment-1784540909
I used:
OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (build 17.0.9+9, mixed mode)
Camel 4.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org