This repository is exist for other note repository, and it is all sample.
- Click here to get the wiki of repository, and you can get more detail about sample.
// TODO
This connection should be singleton, and all lifecycle just has one connection. And can reference Rabbitmq[esb].
- solution 1:
- get connection use the session, which is created by connection. In this case, please reference mybatis.
conn = sqlSession.getConfiguration().getEnvironment().getDataSource().getConnection();
- solution 2:
- use applicationContext to store all singleton var.
- sub module how to use parent project dependency
- solution:
in sub module tag <relativePath>
<parent> <artifactId>activemq</artifactId> <groupId>com.augmentum.mq</groupId> <version>1.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent>
- solution:
- sub module how to use parent project config
- Cause: Broker: localhost - Client: subscriber02-topic already connected from tcp://183.213.100.153:20137
- solution: persistence subscribers