主权项 |
1. A method comprising:
issuing a request, from an application of a contributing client device to a stream administration server, to contribute messages from the application to a feed adapter within a data communication environment via a message stream which bypasses the stream administration server, wherein,
the feed adapter is coupled to a feed source via a feed adapter input stream and to at least one subscribing device via a feed adapter output stream,the feed source is separate from the contributing client device, andthe feed adapter input stream is separate from the message stream; receiving, in response to the request and an authentication of the contributing client device, a set of constraints on messages to be transmitted from the contributing client device to the feed adapter, wherein the set of constraints specifies one or more topics of messages that the contributing client device is authorized to contribute to the feed adapter; establishing the set of constraints in a messaging middleware of the contributing client device; receiving, in the messaging middleware of the contributing client device from the application of the contributing client device, a message for transmission to the feed adapter on the message stream; determining, by the messaging middleware of the contributing client device, whether contents of the message satisfy the set of constraints, wherein the determining comprises comparing a topic associated with the message with the one or more topics of messages that the contributing client device is authorized to contribute to the feed adapter; and administering the message, by the messaging middleware of the contributing client device, in dependence upon whether the message satisfies the set of constraints. |