Skip to content

Commit

Permalink
don't fail on queue failed lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbiam committed Apr 19, 2020
1 parent 73e3c10 commit 38d5908
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class OpenUnisonServletFilter extends UnisonServletFilter {



public static final String version = "1.0.18-2020042001";
public static final String version = "1.0.18-2020042002";



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1419,8 +1419,12 @@ private void initLocalBroker() throws ProvisioningException {
taskQueueName = this.cfgMgr.getCfg().getProvisioning().getQueueConfig().getTaskQueueName();
}

JMSSessionHolder sessionHolder = JMSConnectionFactory.getConnectionFactory().getSession(taskQueueName);
this.mpPools.add(sessionHolder);
try {
JMSSessionHolder sessionHolder = JMSConnectionFactory.getConnectionFactory().getSession(taskQueueName);
this.mpPools.add(sessionHolder);
} catch (Exception e) {
logger.warn("Could not create internal queue",e);
}

} else {

Expand Down

0 comments on commit 38d5908

Please sign in to comment.