[JBoss JIRA] Created: (JBESB-2901) Can't deploy custom ScheduledListener configuration
by Thorsten Polster (JIRA)
Can't deploy custom ScheduledListener configuration
---------------------------------------------------
Key: JBESB-2901
URL: https://jira.jboss.org/jira/browse/JBESB-2901
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Configuration
Affects Versions: 4.5
Reporter: Thorsten Polster
ConfigurationException while configure custom ScheduledListener
Can't use custom ScheduledListener like described in JBoss Wiki (see: http://www.jboss.org/community/wiki/WritingCustomListenersforJBossESB4x#S...)
org.jboss.soa.esb.ConfigurationException: Can only use the org.jboss.soa.esb.listeners.config.mappers110.UntypedListenerMapper mapper on the base listener type. Cannot use on org.jboss.soa.esb.listeners.config.xbeanmodel110.impl.ScheduledListenerDocumentImpl$ScheduledListenerImpl
at org.jboss.soa.esb.listeners.config.mappers110.UntypedListenerMapper.assertListenerConfigOK(UntypedListenerMapper.java:101)
at org.jboss.soa.esb.listeners.config.mappers110.UntypedListenerMapper.map(UntypedListenerMapper.java:62)
at org.jboss.soa.esb.listeners.config.mappers110.GatewayGenerator.addGatewayConfig(GatewayGenerator.java:146)
at org.jboss.soa.esb.listeners.config.mappers110.GatewayGenerator.generate(GatewayGenerator.java:108)
at org.jboss.soa.esb.listeners.config.mappers110.XMLBeansModel.generateGatewayConfig(XMLBeansModel.java:451)
at org.jboss.soa.esb.listeners.config.model.Model110SchemaParser$Model110Adapter.generateGatewayConfig(Model110SchemaParser.java:138)
at org.jboss.soa.esb.listeners.config.Generator.generate(Generator.java:116)
at org.jboss.soa.esb.listeners.config.Configuration.create(Configuration.java:94)
... 46 more
There might be a bug in the class org.jboss.soa.esb.listeners.config.mappers110.UntypedListenerMapper in the method assertListenerConfigOK, cause there is a check for that the mapped Listener must be a ListenerImpl, but is a ScheduledListenerImpl which is just a instance of ListenerImpl.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira