Hi!

Just simple log strings:

2022-07-05 12:48:49.248  INFO 721618 --- [           main] CardDetailsRouteBuilder:109              : [reload-card                                       ] [Processor@0x20deb6f5                                        ] Exchange[Id: D52246AE5405B4A-0000000000000000, BodyType: com.pf.product.card.model.card.Card, Body: 942702] 2022-07-05 12:48:49.249  INFO 721618 --- [           main] c.p.p.c.h.c.d.CardDetailsRouteBuilder    : Card reloaded: Card(id=942702, idHash=hash-942702, status=CardStatus{CLOSED}, hostStatus=HostCardStatus{FORCE_CANCELLED, hostCode='CHST25'}, referenceNumber=s0Iq, walletId=WL-100100101)


The first line is from Camel tracing, the second one is from my own log.info("Card reloaded: " + exchange.getIn().getBody(Card.class)).

Why doesn't Camel tracing use .toString() ?

--
Vyacheslav Boyko
mailto:mail4...@gmail.com

Reply via email to