I have a micronaut application that is supposed to run a SQS listener in one container and a regular HTTP server on the other. How do I achieve this via configuration? I can use the following app properties to enable/disable the listener:
micronaut:
jms:
sqs:
enabled: true
How do I enable/disable the web server?
PS:
I was able to disable the web server in spring boot with spring.main.web-application-type=NONE
. But I am not able to find the relevant setting in micronaut.