Details
-
Type:
Bug
-
Status: To Do
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2.1
-
Fix Version/s: None
-
Component/s: Batch, Configuration
-
Labels:
-
Story Points:2
-
Rank (Obsolete):9223372036854775807
Description
Hi,
I've develop a custom Job which have to publish message on RabbitMq when it's finished.
To develop this module, I'veto include this libraries:
- com.rabbitmq:amqp-client:jar
- org.springframework.amqp:spring-rabbit:jar
- org.springframework.amqp:spring-amqp:jar
My job use this writer: org.springframework.batch.item.amqp.AmqpItemWriter
I've this error log:
support.DefaultAmqpHeaderMapper - skipping header 'amqp_deliveryMode' since it is not of expected type [class org.springframework.amqp.core.MessageDeliveryMode], it is [class org.springframework.amqp.core.MessageDeliveryMode]
This is typically due to a library loaded several times.
What is the solution to resolve this?
I'd like to use the same libraries has RabbitMq Source/Sink or the transport bus.
Does module classloader isolated from others?
Thanks
Mickaël