sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Fw: [sca-assembly] NEW ISSUE: Can channels have multiple bindings?
- From: Peter Niblett <peter_niblett@uk.ibm.com>
- To: OASIS Assembly <sca-assembly@lists.oasis-open.org>
- Date: Thu, 23 Sep 2010 22:54:38 +0100
Sorry, I meant to reply to the list, rather
than just Anish
Peter Niblett
IBM Senior Technical Staff Member
Member of the IBM Academy of Technology
+44 1962 815055
+44 7825 657662 (mobile)
----- Forwarded by Peter
Niblett/UK/IBM on 23/09/2010 22:43 -----
From:
Peter Niblett/UK/IBM
To:
Anish Karmarkar <Anish.Karmarkar@oracle.com>
Date:
23/09/2010 14:31
Subject:
Re: [sca-assembly]
NEW ISSUE: Can channels have multiple bindings?
Anish
Line 2802 says
A channel acts as if it has a single consumer
element with the name "in", to which producers can send events.
A channel acts as if it has a single producer element with the name "out",
from which subscribers receive events. The default presumption is that
it takes every event from its implicit consumer and emits it via its implicit
producer, subject to any filters attached to the channel.
A producer or consumer can have multiple
bindings. So my interpretation of the spec as written is that the bindings
apply both to the implicit producer and consumer. This means that the answer
to your question is yes, the producer can send it using binding B1, and
the consumer receive it over B2.
It would seem odd to say that a consumer
can have multiple bindings, but that a channel cannot.
I have two related questions:
1. Is there a case for having different bindings
for the channel's producer and consumer - e.g. a channel that accepts
events over B1 and emits them over B2.
2. Is there a case for having different bindings
for different types of events received by a channel - e,g you want to require
encryption for some events and not others?
These would suggest explicitly modelling
of the channel's producer and consumer.
Regards
Peter Niblett
IBM Senior Technical Staff Member
Member of the IBM Academy of Technology
+44 1962 815055
+44 7825 657662 (mobile)
From:
Anish Karmarkar <Anish.Karmarkar@oracle.com>
To:
OASIS Assembly <sca-assembly@lists.oasis-open.org>
Date:
23/09/2010 00:42
Subject:
[sca-assembly]
NEW ISSUE: Can channels have multiple bindings?
Title: Can channels have multiple bindings?
Spec: SCA assembly version 1.2
Description:
In the current sca assembly version 1.2 wd 01, channels can have more
than one binding. What does that mean? If a producer raises an event on
channel C over binding B1, does a consumer get that event if it is
connected to the same channel C over binding B2?
Proposal:
1) Allow only 0 or 1 binding on a channel
OR
2) Specify that if the channel has > 1 binding that the bindings provide
different ways to get to the same channel or community.
-Anish
--
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]