[JBoss JIRA] (WFLY-3192) AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation are found in the class
by Emmanuel Hugonnet (JIRA)
Emmanuel Hugonnet created WFLY-3192:
---------------------------------------
Summary: AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation are found in the class
Key: WFLY-3192
URL: https://issues.jboss.org/browse/WFLY-3192
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EE
Affects Versions: 8.0.0.Final
Reporter: Emmanuel Hugonnet
Assignee: Emmanuel Hugonnet
AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation is found in the class.
The specification says:
A class must not declare more than one AroundInvoke method.
The JBoss AS allows more such methods and then it chooses one of them which is used as the interceptor.
It becomes even more important to check the interceptor validity now with the new feature introduced by AS7-5897 (server side non-EE interceptors for EE invocations).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (WFLY-3191) Console uses hardcoded hornetq-server name as "default" causes issue while moniroting JMS metrics
by Jay Kumar SenSharma (JIRA)
Jay Kumar SenSharma created WFLY-3191:
-----------------------------------------
Summary: Console uses hardcoded hornetq-server name as "default" causes issue while moniroting JMS metrics
Key: WFLY-3191
URL: https://issues.jboss.org/browse/WFLY-3191
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Console
Affects Versions: 8.0.1.Final
Environment: All
Reporter: Jay Kumar SenSharma
Assignee: Heiko Braun
Looks like the API [1] is using hardcoded hornetQ server name as "default" inside the "QueueMetrics.java" as following:
{code}
final HelpSystem.AddressCallback addressCallback = new HelpSystem.AddressCallback() {
@Override
public ModelNode getAddress() {
ModelNode address = new ModelNode();
address.get(ModelDescriptionConstants.ADDRESS).set(RuntimeBaseAddress.get());
address.get(ModelDescriptionConstants.ADDRESS).add("subsystem", "messaging");
address.get(ModelDescriptionConstants.ADDRESS).add("hornetq-server", "default");
address.get(ModelDescriptionConstants.ADDRESS).add("jms-queue", "*");
return address;
}
};
{code}
- Above is causing issue if someone alters the "Hornetq-server" name to something else. In that case the Console will not be able to display the QueueMetrics for any JMS Queue or Topic.
- See attached Screenshot with the When the HornetQ server name was changed to "testing"
{code}
<subsystem xmlns="urn:jboss:domain:messaging:2.0">
<hornetq-server name="testing">
.
.
</hornetq-server>
</subsystem>
{code}
[1] https://github.com/hal/core/blob/master/gui/src/main/java/org/jboss/as/co...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months