Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
class Subscription {
  QName serviceName
  QName interfaceName
  QName operationName
  String endpoint

  Filter filter
}

Maybe we could include an SubscriptionBroadcaster interface so that you could implement both a parallel broadcaster and serial broadcaster.

And programatically maybe we should provide an interface to allow you to add a subscription from a JBI component/service.

This might be part of the ComponentContext, this might provide a simple method such as,

Code Block

componentContext.registerSubscription(ServiceEndPoint serviceEndPoint)

A few questions:

  • Are all subscriptions immutable?
  • Do we provide the ability to add subscription query language like JMS subscription? An interesting question is mapping a JMS property to a NormalizedMessage property?
  • Subscription persistence