Hi,

I don't know much about Redis though, it seems the PSUBSCRIBE and SUBSCRIBE are 
the only two supported for consumer.
https://github.com/apache/camel/blob/master/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisConsumer.java#L54

You may want to file a JIRA for the enhancement.

Thanks,
Tomo

On 03/29/2017 03:23 AM, Mark Nuttall wrote:
I am looking at the documentation and examples and have been testing with
the Redis component. It seems that the only command that will work in a
consumer URI is SUBSCRIBE  and PSUBSCRIBE . It seems that only works with
PUBLISH. Pub/Sub in REDIS is not persistent. I need  something that is. If
i put anything other than subscribe or psubscribe, i get an unsupported
error. I need to be able to have a "from" that blocks on BPLOP. The example
code uses "sendHeaders" in the via the test helper class but does not block.

(fyi, i'd use ActiveMQ but "we" are switching to SQS and that comes with
another host of issues and i just need some worker queues)

Any ideas?

Reply via email to