apupier commented on PR #11756:
URL: https://github.com/apache/camel/pull/11756#issuecomment-1770192566

   > camel-mock should not have new dependency on some xml library.
   
   Can you provide an explanation on the reason for it? it would help to find 
an alternative.
   
   > this fix should not change camel-mock
   
   I do not see an handy solution not modifying camel-mock at all. The 
comparison in Camel mock is on the exact message content equality but the idea 
is to compare similar xml content, not string comparison. We will have to 
introduce something to do this kind of comparison.
   The alternative would be to provide another module specific to Mock with xml 
content but I feel it will feel weird to have different kind of camel-mock 
components.
   
   
   Alternative: provide a specific class doing the comparison and provided as a 
parameter of the method `expectedXXX`. not sure where to host this method. It 
can be in camel-stax for now as it is the only one used but I imagine that it 
could be useful for other components too.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to