Hi there, I have an object of a class "Foo" in an exchange property named "the-foo". The "Foo" class has an int property "counter" with a getter. In my route, I have to check with a choice- and a when-clause if this counter is greater than zero, then proceed with next step #1, otherwise proceed with next step #2. I don't see how I could get the counter property.
simple("${exchangeProperty.the-foo.counter}") did not work. The only solution I found was to set the exchange property into the body and then check the counter there, but this is not an ideal solution. Any help is appreciated. Kind regards, Christian Jacob Innogy SE Retail IT Integration and Digital Solutions (AFS-IGI) Rellinghauser Str. 37 45128 Essen T intern: 70-20581 T extern: +49 (0)201 12 20582 T mobil: +49 (0)1622843981 Fax: +49 (0)201 12 24796 mailto: christian.ja...@innogy.com ---------------------------------------------------------------- innogy SE Vorsitzender des Aufsichtsrates: Dr. Erhard Schipporeit Vorstand: Uwe Tigges (Vorsitzender), Dr. Hans Buenting, Dr. Bernhard Guenther, Martin Herrmann, Hildegard Mueller Sitz der Gesellschaft: Essen, Eingetragen beim Amtsgericht Essen, Handelsregister-Nr. HRB 27091, USt-IdNr. DE304171711