CAMEL-8168 Fixed the unit test error of camel-mina2