Mar 10th, 2011, 10:07 AM
Channel interceptor without subscribers
I need to configure a channel with a interceptor without a subscriber, something like this below:
If I run the application I receive this exception:
Caused by: java.lang.IllegalStateException: Dispatcher has no subscribers.
The reference manual shows the same example:
Is not possible to have a channel only with an interceptor without a subscriber?
Mar 10th, 2011, 10:13 AM
Could you please describe your use case? What are you trying to accomplish?
Your current configuration is obviously wrong since you are defining a DirectChannel which is there to support P2P messaging model and P2P model states that both producer and consumer *must* be present.
So please describe your use case and we'll help you to find the right solution.
Tags for this Thread