Issue Details (XML | Word | Printable)

Key: GDS-647
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: William Draï
Reporter: William Draï
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GraniteDS

Seam/Spring simplified configuration for JMS/ActiveMQ is broken

Created: 09/Mar/10 12:42 PM   Updated: 02/Apr/10 11:24 AM   Resolved: 10/Mar/10 04:59 PM
Component/s: Gravity
Affects Version/s: None
Fix Version/s: 2.2.0_beta1


Damien Feugas added a comment - 20/Mar/10 12:22 PM
Hello.

On Spring, another error is triggered when using the simple jms configuration :

<graniteds:jms-topic-destination id="adminTopic"
name="adminMessages"
     connection-factory="ConnectionFactory"
     jndi-name="topic/adminMessages"
     acknowledge-mode="AUTO_ACKNOWLEDGE"
     transacted-sessions="true"
     no-local="true"
     session-selector="true"/>


Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'jndiName' of bean class [org.granite.spring.JmsTopicDestination]: Bean property 'jndiName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

In fact, the setter in AbstractJmsTopicDestination is setTopicJndiName().

Is this bug fixed too in your patch ?

Thank fo all.