[Design of JBoss ESB] - Re: JBM 2 log and ESB
by Kevin.Conner@jboss.com
"mark.little(a)jboss.com" wrote : If you mean use the log for the DLQ and RDQ then it's something we could definitely consider.
There will not be a DLQ/RDQ in the same fashion as currently exists in ESB4. The redelivery mechanism will be an integral part of the bus along with its integration to other ESB instances.
"mark.little(a)jboss.com" wrote : As for the more general message store, that's probably less useful because the intention there is to allow it to be a central or federated service that is available across the network. So yes, it could still use the JBM log, but it definitely wouldn't be shared by JBossTS for a start and you wouldn't see much performance benefit since the bottleneck will be the network.
My previous posting was not commenting on any integration with JBossTS as any potential integration would exist be at a lower level than we are currently dealing with. We are more concerned with an internal bus structure for the new architecture.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192094#4192094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192094
15 years, 7 months
[Design the new POJO MicroContainer] - Re: Reflect BeanInfo cache change breaks Kernel
by alesj
"adrian(a)jboss.org" wrote :
| The issue is that the ClassInfo is not usable as a key to a map since it only
| checks the class name in the equals.
| i.e. it has no understanding of classloader.
I would expect this to fail:
| public void testClassLoaderCaching() throws Throwable
| {
| String className = BeanInfoEmpty.class.getName();
| Class<?> clazz = Class.forName(className);
| URL url1 = clazz.getProtectionDomain().getCodeSource().getLocation();
| URL[] urls = {url1};
| ClassLoader cl1 = new URLClassLoader(urls);
|
| className = ClassInfo.class.getName();
| clazz = Class.forName(className);
| URL url2 = clazz.getProtectionDomain().getCodeSource().getLocation();
| urls = new URL[]{url1, url2};
| ClassLoader cl2 = new URLClassLoader(urls);
|
| Configuration configuration = getConfiguration();
|
| ClassInfo ci1 = configuration.getClassInfo(className, cl1);
| ClassInfo ci2 = configuration.getClassInfo(className, cl2);
| assertSame(ci1, ci2);
| assertEquals(ci1.hashCode(), ci2.hashCode());
|
| className = "org.jboss.test.beaninfo.support.BeanInfoCache";
| BeanInfo bi1 = configuration.getBeanInfo(className, cl1);
| BeanInfo bi2 = configuration.getBeanInfo(className, cl2);
| assertFalse(bi1.equals(bi2)); // !-- HERE
| }
|
But BeanInfoCache's CL is always sun.misc.Launcher$AppClassLoader@a39137.
Although I would expect my URLCL.
Where am I wrong? :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192092#4192092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192092
15 years, 7 months