Update code to latest Citrus version
Use endpoint instead of legacy "with" attribute
Use endpoint instance