Comments (1)
Problem is due to a circular reference to LogAdapter$Log4jLog
in the Spring implementation of commons-logging.
The CTOR is called from the appender while initializing the RabbitTemplate
and before the loggerContext
static has been assigned.
private static final LoggerContext loggerContext =
LogManager.getContext(Log4jLog.class.getClassLoader(), false);
private final ExtendedLogger logger;
public Log4jLog(String name) {
this.logger = loggerContext.getLogger(name);
}
We need to defer initializing the RabbitTemplate
until later.
from spring-amqp-samples.
Related Issues (20)
- Fix for Running Receiver and Sender at the same time on a Single Server HOT 3
- Add example for delayed message HOT 2
- Exception when I run the example of log4j2 with rabbitmq in docker HOT 8
- Wrong documentation for delayed message HOT 1
- Spring Rabbit Json pom.xml points to non existing repo? HOT 2
- log4j module have error when run HOT 6
- Thread name information not available in AMQP message? HOT 8
- Request response pattern example HOT 1
- how to find params with amp HOT 2
- Invalid property 'rabbitTemplate' of bean class RabbitMarketDataGateway HOT 1
- build stock has error HOT 1
- RabbitMQ - Socket Exception HOT 1
- Cannot build the project due to missing artefacts in maven central repository HOT 4
- Change confirms/returns sample to use CorrelationData.getFuture()
- How to configure Global Error Handler @RabbitListener annotation's errorHandler attribute HOT 4
- spring-rabbit-stocks webapp does not work
- how to create multiple rabbitmq HOT 1
- hi!help me HOT 14
- spring-amqp with mqtt HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-amqp-samples.