ATS-467 : T-Engine logs fill up with ActiveMQ errors when used in ACS Community edition

- instantiate JMS beans only when 'activemq.url' property is set
- fix integration tests
This commit is contained in:
CezarLeahu
2019-07-05 11:39:39 +03:00
committed by GitHub
parent 052e4adc12
commit be48c8e7a9
7 changed files with 13 additions and 10 deletions

View File

@@ -37,7 +37,8 @@ import static org.alfresco.transform.client.model.Mimetype.MIMETYPE_HTML;
import static org.alfresco.transform.client.model.Mimetype.MIMETYPE_TEXT_PLAIN;
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
properties = {"activemq.url=nio://localhost:61616"})
public class MiscQueueTransformServiceIT extends AbstractQueueTransformServiceIT
{
@Override