How can I make my jboss lift even if the connection to a queue has failed?

0

Environment: wildfly 10 MQ Series Jboss Resource-adapter for MQ Series

The question in the following I have a .ear inside the deployments folder of wildfly and there I have an MDB consumer that consumes message from the MQ Series queue through the resource-adapter.

When I start the server and there is a connection to the queue .. everything works ok. When I start the server and there is NO connection to the queue .. the server is not deployed ...

What I want is how I can configure or structure so that when I start the server and the queues are dropped .. the deploy is made and all the things work except the queues ....

Any comments are welcome

    
asked by MIKEL 17.10.2017 в 21:46
source

1 answer

0

Here I leave the answer ... This is done by configuring the resource-adapter with these properties: 3 50000

According to documentation:

startupRetryCount: (Default 0) The default number of times to try and connect to MDB on startup, if the queue manager is not running when the application server is started

startupRetryInterval: (Default 30 000) The default sleep time between startup connection attempts (in milliseconds).

This is how I got the app server to get up even if the queues were offline ...

Greetings

    
answered by 18.10.2017 / 15:18
source