1af2133f68498bd91361a2ca2237fb2426233721
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public producedMessageIsReceivedByKafka() : void renamed to public producedStringMessageIsReceivedByKafka() : void in class org.apache.camel.component.kafka.KafkaProducerFullTest | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type bodyOther : String to bodyOther : Object in method private sendMessagesInRoute(messages int, template ProducerTemplate, bodyOther Object, headersWithValue String...) : void in class org.apache.camel.component.kafka.KafkaProducerFullTest | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type messageKey : String to messageKey : K in method public process(exchange Exchange) : void in class org.apache.camel.component.kafka.KafkaProducer | From | To | |
| Change Variable Type msg : String to msg : V in method public process(exchange Exchange) : void in class org.apache.camel.component.kafka.KafkaProducer | From | To | |
| Change Variable Type data : KeyedMessage<String,String> to data : KeyedMessage<K,V> in method public process(exchange Exchange) : void in class org.apache.camel.component.kafka.KafkaProducer | From | To | |
| Change Variable Type partitionKey : String to partitionKey : K in method public process(exchange Exchange) : void in class org.apache.camel.component.kafka.KafkaProducer | From | To | |
| Split Attribute | 1 | ||
| Split Attribute TOPIC_IN_HEADER : String to [TOPIC_STRINGS_IN_HEADER : String, stringsTemplate : ProducerTemplate] in class org.apache.camel.component.kafka.KafkaProducerFullTest | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type producer : Producer<String,String> to producer : Producer<K,V> in class org.apache.camel.component.kafka.KafkaProducer | From | To | |
| Extract Method | 2 | ||
| Extract Method private sendMessagesInRoute(messages int, template ProducerTemplate, bodyOther Object, headerMap Map<String,Object>) : void extracted from private sendMessagesInRoute(messageInOtherTopic int, bodyOther String, headersWithValue String...) : void in class org.apache.camel.component.kafka.KafkaProducerFullTest | From | To | |
| Extract Method protected createProducer(keyClass Class<K>, valueClass Class<V>, endpoint KafkaEndpoint) : KafkaProducer<K,V> extracted from public createProducer() : Producer in class org.apache.camel.component.kafka.KafkaEndpoint | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter messageInOtherTopic : int to messages : int in method private sendMessagesInRoute(messages int, template ProducerTemplate, bodyOther Object, headersWithValue String...) : void in class org.apache.camel.component.kafka.KafkaProducerFullTest | From | To |