3fd238f90b7fde54669e4bb8a090f0055e93a749
Files Diff
- Added: 7
- Removed: 5
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public createAMQPMessage(eventMessage EventMessage) : AMQPMessage from class org.axonframework.amqp.eventhandling.DefaultAMQPMessageConverter to public createAMQPMessage(eventMessage EventMessage) : AMQPMessage from class org.axonframework.amqp.eventhandling.legacy.JavaSerializationAMQPMessageConverter | From | To | |
Move Method private asByteArray(event EventMessage) : byte[] from class org.axonframework.amqp.eventhandling.DefaultAMQPMessageConverter to private asByteArray(event EventMessage) : byte[] from class org.axonframework.amqp.eventhandling.legacy.JavaSerializationAMQPMessageConverter | From | To | |
Change Return Type | 2 | ||
Change Return Type EventMessage to Optional<EventMessage<?>> in method public readAMQPMessage(messageBody byte[], headers Map<String,Object>) : Optional<EventMessage<?>> in class org.axonframework.amqp.eventhandling.DefaultAMQPMessageConverter | From | To | |
Change Return Type EventMessage to Optional<EventMessage<?>> in method public readAMQPMessage(messageBody byte[], headers Map<String,Object>) : Optional<EventMessage<?>> in class org.axonframework.amqp.eventhandling.AMQPMessageConverter | From | To | |
Move Attribute | 1 | ||
Move Attribute private DURABLE : AMQP.BasicProperties from class org.axonframework.amqp.eventhandling.DefaultAMQPMessageConverter to private DURABLE : AMQP.BasicProperties from class org.axonframework.amqp.eventhandling.legacy.JavaSerializationAMQPMessageConverter | From | To | |
Move Class | 4 | ||
Move Class org.axonframework.eventhandling.io.EventMessageWriter moved to org.axonframework.amqp.eventhandling.legacy.EventMessageWriter | From | To | |
Move Class org.axonframework.eventhandling.io.MessageStreamTest moved to org.axonframework.amqp.eventhandling.legacy.MessageStreamTest | From | To | |
Move Class org.axonframework.eventhandling.io.EventMessageType moved to org.axonframework.amqp.eventhandling.legacy.EventMessageType | From | To | |
Move Class org.axonframework.eventhandling.io.EventMessageReader moved to org.axonframework.amqp.eventhandling.legacy.EventMessageReader | From | To | |
Extract Variable | 3 | ||
Extract Variable messageProperties : MessageProperties in method public testMessageListenerIgnoredOnDeserializationFailure() : void from class org.axonframework.amqp.eventhandling.spring.SpringAMQPMessageSourceTest | From | To | |
Extract Variable messageProperties : MessageProperties in method public testMessageListenerInvokesAllEventProcessors() : void from class org.axonframework.amqp.eventhandling.spring.SpringAMQPMessageSourceTest | From | To | |
Extract Variable messageConverter : DefaultAMQPMessageConverter in method public testMessageListenerIgnoredOnDeserializationFailure() : void from class org.axonframework.amqp.eventhandling.spring.SpringAMQPMessageSourceTest | From | To | |
Change Package | 1 | ||
Change Package org.axonframework.eventhandling.io to org.axonframework.amqp.eventhandling.legacy | From | To |