[
http://jira.jboss.com/jira/browse/JBESB-275?page=all ]
Daniel Bevenius updated JBESB-275:
----------------------------------
Attachment: JMSRouter.java
Just the added constructor and added a method to avoid duplication. I have commented out
the code I moved out of the original constructor
Issue regarding the JMSRouter
-----------------------------
Key: JBESB-275
URL:
http://jira.jboss.com/jira/browse/JBESB-275
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 4.0 RC1
Reporter: Daniel Bevenius
Assigned To: Mark Little
Attachments: JMSRouter.java, JMSRouterTest.java
I tried to create a FileGatewayListener(also tried this with a JmsGatewayListener) which
targets a JMSQueueListener.
I added a JMSRouter action to the JMSQueueListener, but received an exception that
JMSRouter was missing a constructor that took an instance of ConfigTree(for the exact
exception please see the JBoss ESB User forum reference below).
After adding the constructor to JMSRouter and retesting I got a NullPointerException from
the process method of JMSRouter. I tracked this problem down to the
FileGatewayListener.PackageFileContents.process(Message message), where the message was
being created.
Please refer to the forum entry below which is more detailed. I also have a junit test
which I'll try to attach if that is possible.
--
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