brianmolinaspring opened a new issue, #5474:
URL: https://github.com/apache/camel-quarkus/issues/5474

   ### Bug description
   
   Hello guys, please help, I have my pod made in Quarkus with Apache Camel and 
native mode, I have an issue with my pod, since it is not updating the record 
of my logs with the current date, for example I have this in my route :
   
   .log("\n["+getCurrentDateTime()+"]")
   but I see that the date that the log gives me is the exact date on which the 
pod was created, and it does not change for each request, additionally I leave 
you this function
   
   private Timestamp getCurrentDateTime() {
   
           LocalDateTime now = LocalDateTime.now();
           return Timestamp.valueOf(now);
       }
   
   I don't know if there are incompatibility issues with camel, I read that I 
can use this ${date:now:yyyyMMdd}, but my code is already in a testing 
environment and I want to know if there is any reason to see this strange 
behavior and if it can be solved.


-- 
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-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to