Created
January 13, 2013 15:02
-
-
Save bibryam/4524497 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <bean id="idempotentRepository" class="org.apache.camel.component.redis.processor.idempotent.RedisIdempotentRepository"> | |
| <constructor-arg value="test-repo"/> | |
| </bean> | |
| <route> | |
| <from uri="direct:start"/> | |
| <idempotentConsumer messageIdRepositoryRef="idempotentRepository"> | |
| <simple>${in.body.id}</simple> | |
| <to uri="mock:result"/> | |
| </idempotentConsumer> | |
| </route> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lo probe y veo que si no existe lo guarda en redis pero como obtengo el valor guardado en redis