[JBoss JIRA] Updated: (JBMESSAGING-92) Integrate and enable multiplex transport
by Tim Fox (JIRA)
[ http://jira.jboss.com/jira/browse/JBMESSAGING-92?page=all ]
Tim Fox updated JBMESSAGING-92:
-------------------------------
Fix Version/s: (was: 1.2.0.Alpha1)
1.2.0.Beta1
> Integrate and enable multiplex transport
> ----------------------------------------
>
> Key: JBMESSAGING-92
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-92
> Project: JBoss Messaging
> Issue Type: Feature Request
> Components: JMS Remoting
> Reporter: Ovidiu Feodorov
> Assigned To: Ron Sigal
> Priority: Critical
> Fix For: 1.2.0.Beta1
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> Replace "Connector per Consumer" solution with a Remoting UIL2-like transport
> The ConsumerInterceptor creates a new Connector instance per each Consumer, and associates maintains a reference to it as transitory metadata, so it can shut it down when the Consumer closes.
> The Connector is necessary as a callback server for asynchronous notifications. The MessageCallbackHandler instance is registered to it. Maintaining an instance per Consumer is necessary to avoid port conflicts.
> This is a temporary solution until JBoss Remoting gets an UIL2-like transport.
> As long as we maintain a server socket per consumer, it won't be possbile to receive asynchronous notifications over firewalls.
> until multiplex performance is better it should not be the default tranport but should be available nevertheless
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months
[JBoss JIRA] Created: (JBCACHE-766) Don't return unnecessary values from _replicate, avoiding need for marshalling
by Owen Taylor (JIRA)
Don't return unnecessary values from _replicate, avoiding need for marshalling
------------------------------------------------------------------------------
Key: JBCACHE-766
URL: http://jira.jboss.com/jira/browse/JBCACHE-766
Project: JBoss Cache
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Clustering
Affects Versions: 1.4.0.SP1
Reporter: Owen Taylor
Assigned To: Manik Surtani
Priority: Minor
Fix For: 1.4.0.SP2
This is somewhat related to JBCACHE-752, which suggests setting a marshaller for
responses passed over RpcDispatcher as well as for requests, but is a simpler and
less general fix.
Right now if you set a class loader for a tree cache region, it works for request parameters,
but is ignored for returns. If there is an attempt to return a value that needs to be loaded
with the class loader, an exception will be thrown.
The only return value in normal REPL_SYNC operation is the return value from
the key-value put methods, which is the old value, if any. But that return value isn't
needed for replication. So, this patch just nulls out the return value from the two affected
methods.
(We're setting a class loader to deal with the fact that enumerations fields of Hibernate
entities are stored directly in the cache, and are serialized/deserialized on replication.
There's a JIRA entry for that issue, which likely should be fixed in Hibernate by storing
such fields as ordinals, but I think this patch is a legitimate TreeCache fix, if done in a slightly
hacky manner.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months
[JBoss JIRA] Closed: (JBCACHE-328) Move attributes and getters/setters to interceptors
by Manik Surtani (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-328?page=all ]
Manik Surtani closed JBCACHE-328.
---------------------------------
Resolution: Won't Fix
A different approach is used instead. Cache-wide configuration is encapsulated in a Configuration object, which is injected into each of the interceptors.
This way the config can be managed independent of the interceptors.
> Move attributes and getters/setters to interceptors
> ---------------------------------------------------
>
> Key: JBCACHE-328
> URL: http://jira.jboss.com/jira/browse/JBCACHE-328
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Bela Ban
> Assigned To: Manik Surtani
> Fix For: 2.0.0
>
>
> Example: currently IsolationLevel is an attribute of TreeCache. Goal is to make it an attribute of PessimisticLockingInterceptor.
> Advantage:no unneeded methods in TreeCache, cluttering up the TreeCache class
> #1 Implicit Configuration (conceptual)
> --------------------
> <TreeCache>
> <Replication>
> <config> ... </config>
> <mode>ASYNC</mode>
> </Replication>
> <IsolationLevel>
> REPEATABLE-READ
> </IsolationLevel>
> </TreeCache>
> This configures the interceptor chain
> #2 Explicit configuration
> ------------------------------------
> <TreeCache>
> <Interceptor name="PessimisticLockingInterceptor"
> class="xxxx"
> level="REPEATABLE-READ" />
> <Interceptor>...</Interceptor>
> </TreeCache>
> The chain is defined explicitly, attributes are defines per interceptor
> #3 JMX
> If JMx is used, JBossCache is registered with the MBeanServer, and all interceptors are registered under JBossCache, e.g.
> type=cache;name=JBossCache1
> type=cache;name=JBossCache1;interceptor_name=PessimisticLockingInterceptor
> type=cache;name=JBossCache1;interceptor_name=CacheLoaderInterceptor
> type=cache;name=JBossCache1;interceptor_name=ReplicationInterceptor
> #4 Programmatic access
> Can be done through JMX, but is not nice
> cache.getIsolationLevel() --> ((PessimisticLockingInterceptor)cache.getInterceptor("PessimisticLockingInterceptor")).getIsolationLevel()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months