Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #80 from 4finance/topic/enable-correlation-id-for-…
Browse files Browse the repository at this point in the history
…camel

Added annotation @EnableCorrelationIdForCamel
  • Loading branch information
mariuszs committed Nov 6, 2014
2 parents 012b0d1 + f5605d8 commit a576185
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.ofg.infrastructure.camel;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
* Enables Correlation Id for Camel.
*
* @see com.ofg.infrastructure.camel.aspects.CorrelationIdOnCamelRouteAspect
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(CorrelationIdOnCamelRouteConfiguration.class)
public @interface EnableCorrelationIdForCamel {

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.lang.annotation.Target;

/**
* Enables support for {@link ReactorAspect}.
* Enables Correlation Id for Reactor.
*
* That way, combined with {@link com.ofg.infrastructure.reactor.event.ReactorEvent} and
* {@link reactor.spring.annotation.Selector} annotations correlationId will be set for
Expand Down

0 comments on commit a576185

Please sign in to comment.