[Design of JBoss jBPM] - dataflow integration
by msandoz
i'm working on a custom extension to the editor to support dataflow and more custom nodes. my first thought for a direction is to create a new semantic element for a dataflow node which i would then extend with custom nodes and provide custom editors - as property tabs.
Concerning mapping:
is this the right way to go? i also considered adding mapping support through an extra mapping element for the existing node class and then extending that with the custom node classes. the mapping extension would provide a mechanism for mapping the handler variables to inputs and outputs which would be configurable through a simple property editor.
Concerning custom editors:
i think it would be nice to be able to construct custom handler editors by creating a mapping from the handler class to the editor class and then simply bringing up the appropriate editor in a property tab. to help differentiate the various custom nodes in the designer it would also be nice to have the mapping provide an icon and to have a palette entry for it.
is this a reasonable direction?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055036#4055036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055036
18 years, 9 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Invalid JORAM Test
by clebert.suconic@jboss.com
"timfox" wrote : "clebert.suconic(a)jboss.com" wrote :
| |
| | I don't know if this is legal on JORAM, but it is certainly not legal on JBossMessaging. You are required to clear the previous receiver before assign a new one on the same queue, because of that I will be changing the JORAM test accordingly. (Unless anyone has anything against the change)
| | Clebert
|
| Actually, it's perfectly legal to create more than one receiver on the same queue.
|
| It's just that it's not specified in the JMS spec which receiver would get the message.
|
| In the case of JBM they would be round-robined.
|
| However, if the test is expecting the the latest receiver to get the message, then I accept the test is probably flawed.
Yep.. that's what I meant... but I think it's odd the test was passing on JORAM (originally written to) and JBossMQ.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054968#4054968
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054968
18 years, 9 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Invalid JORAM Test
by clebert.suconic@jboss.com
On the integration testsuite from JBossAS (trunk) which I'm moving to Branch_4_x, there is one invalid JORAM Test, which is doing something like this:
|
| public void testStopStartConnection() throws Exception
| {
| Queue queue = (Queue)ic.lookup("/queue/TestQueue");
| Queue receiverQueue = (Queue)ic.lookup("/queue/TestQueue");
|
| QueueConnectionFactory qcf = (QueueConnectionFactory)cf;
|
| QueueConnection connProducer = qcf.createQueueConnection();
| QueueSession senderSession = connProducer.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);
| QueueSender sender = senderSession.createSender(queue);
|
| QueueConnection receiverConnection = qcf.createQueueConnection();
| QueueSession receiverSession = receiverConnection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);
| QueueReceiver receiver = receiverSession.createReceiver(receiverQueue);
|
| connProducer.start();
| receiverConnection.start();
|
|
| receiverConnection.stop();
| receiverSession = receiverConnection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);
| // receiver.close(); /// This would fix the test
| receiver = receiverSession.createReceiver(receiverQueue);
| receiverConnection.start();
|
|
| Message message = senderSession.createMessage();
| sender.send(message);
|
| Message m = receiver.receive(30000);
|
|
| m.acknowledge();
| }
|
|
(The above is a simplification of what was happening on the JORAM test.. since it was playing with setup, and opening the receivers again on the test itself)
The test creates a receiver... and later creates the receiver again without closing the previous one.
I don't know if this is legal on JORAM, but it is certainly not legal on JBossMessaging. You are required to clear the previous receiver before assign a new one on the same queue, because of that I will be changing the JORAM test accordingly. (Unless anyone has anything against the change)
Clebert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054892#4054892
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054892
18 years, 9 months