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

@@ -26,12 +26,8 @@
*/
package org.alfresco.transformer;
import static org.alfresco.transform.client.model.Mimetype.MIMETYPE_OPENXML_WORDPROCESSING;
import static org.alfresco.transform.client.model.Mimetype.MIMETYPE_PDF;
import static org.junit.Assert.assertEquals;
import java.util.UUID;
import javax.jms.Queue;
import org.alfresco.transform.client.model.TransformReply;
@@ -49,7 +45,7 @@ import org.springframework.test.context.junit4.SpringRunner;
* created on 15/01/2019
*/
@RunWith(SpringRunner.class)
@SpringBootTest
@SpringBootTest(properties = {"activemq.url=nio://localhost:61616"})
public abstract class AbstractQueueTransformServiceIT
{
@Autowired