aldettinger commented on pull request #2739:
URL: https://github.com/apache/camel-quarkus/pull/2739#issuecomment-856835768


   Thanks for contribution @ffang. As far as I understand, it's all about 
testing the case where JAXB annotation support is configured on the whole 
context. So, there is a difficulty because we have tests sharing a single 
context that we want to be configured differently given the test we are 
currently executing.
   
   If my understanding is correct, please find questions below:
   1) Is it really needed to test this case in camel-quarkus ? I think the test 
is already covered in camel, is there anything specific to quarkus/graal in 
this situation ?
   2) Couldn't we face situations where 2 JacksonJsonResource methods are 
called concurrently ? And then global options could be applied during another 
test as the context is not synchronized in other methods ?
   3) When testing scenarios involving globalOptions(), would it be better to 
have a new CamelContext for each subset of global options ? Maybe another itest 
project or something like a quarkus test profile ?
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to