[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Management operation over JBM 2 Core API
by jmesnil
"timfox" wrote : "jmesnil" wrote :
| |
| | The management clients will send management messages to this standard management messages.
| |
| | However, it needs to be able to consume the replies.
| | My idea was that he still would have to create a temp queue and a destination used as the "reply-to" of the management messages.
| |
| |
| |
|
| if I send a management message to admin destination "create Temp Queue", and also specify that destination as the reply for the management message, then surely it will create that destination, then send the reply back there.
|
| So you can still consume the replies, no need for extra create/delete queue methods?
Sure you can, but I find this more convoluted than having a explicit create/delete queue methods.
Besides, creating temp queues is done in many messaging patterns and I'd prefer to keep a method to do that as part of our core API without relying on management API.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173369#4173369
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173369
16 years, 4 months
[Design of JBoss jBPM] - Re: mavenize enterprise
by thomas.diesler@jboss.com
I think this done actually. If you follow
http://jbpm.dyndns.org/jbpmwiki/index.php?title=JBPM3BuildingTheInstaller
you should see the jbpm-console working and the enterprise beans deploy
| 16:56:00,550 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JbpmDS' to JNDI name 'java:JbpmDS'
| 16:56:00,865 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 16:56:01,638 INFO [EjbModule] Deploying TimerEntityBean
| 16:56:01,983 INFO [EjbModule] Deploying CommandServiceBean
| 16:56:02,107 INFO [EjbModule] Deploying TimerServiceBean
| 16:56:02,113 INFO [EjbModule] Deploying CommandListenerBean
| 16:56:02,182 INFO [EjbModule] Deploying JobListenerBean
| 16:56:04,193 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TimerEntityBean' to jndi 'java:ejb/TimerEntityBean'
| 16:56:04,202 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CommandServiceBean' to jndi 'java:ejb/CommandServiceBean'
| 16:56:04,250 INFO [ProxyFactory] Bound EJB Home 'CommandServiceBean' to jndi 'ejb/CommandServiceBean'
| 16:56:04,274 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TimerServiceBean' to jndi 'local/TimerServiceBean@14694596'
|
Early next week, I'll try to integrate the enterprise tests in the hudson matrix
http://jbpm.dyndns.org/jbpmwiki/index.php?title=JBPM3HudsonSetup
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173361#4173361
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173361
16 years, 4 months
[Design of JBoss Transaction Services] - Re: ClientUserTransaction and TxPropogation inefficiencies
by adrian@jboss.org
"jhalliday" wrote : > The ClientUserTransaction is only a proxy to a real transaction on the server so JTS is irrelevant for normal clients
|
| Unfortunately not. If a normal (i.e. without ORB) client is using UT to communicate to a server and that server is switched from the JTA to the JTS, the client will break. Of course that may be a bug rather than a design issue.
|
| Then there is the question of what the behaviour should be when the client is using RMI/IIOP rather than JRMP for transactional calls to the server. Should it need the JBossTS libraries, or should it continue to use UT? What if it wants to switch to JBossTS? Using either the JTA API or the CORBA API for transaction demarcation.
So you're saying the TPC obtained by UserTransactionSessionImpl is not usable
by the client when JTS is installed on the server?
| public Object begin(int timeout)
| throws RemoteException,
| NotSupportedException,
| SystemException
| {
| TransactionManager tm = getTransactionManager();
| // Set timeout value
| tm.setTransactionTimeout(timeout);
| // Start tx, and get its TPC.
| tm.begin();
| Object tpc = getTPCFactory().getTransactionPropagationContext(); // HERE !!!!
| // Suspend thread association.
| Transaction tx = tm.suspend();
| // Remember that a new tx is now active.
| activeTx.put(tpc, tx);
| // return the TPC
| return tpc;
| }
|
In that case, it is a bug.
We probably need some new api to differentiate the two use cases
of getTPC().
1) When propogating calls to other servers
2) When retrieving a TPC usuable by a client to control UTs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173359#4173359
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173359
16 years, 4 months