Issue Details (XML | Word | Printable)

Key: QUARTZ-765
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: James House
Reporter: Fernando Ribeiro
Votes: 0
Watchers: 0
Operations

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

JNDI Parameters in SendTopicMessageJob

Created: 06/Jul/09 10:46 AM   Updated: 22/Oct/09 09:24 PM
Return to search
Component/s: Jobs
Affects Version/s: 1.6.5
Fix Version/s: 1.6.6

File Attachments: 1. Java Source File SendDestinationMessageJob.java (4 kB)
2. Java Source File SendTopicMessageJob.java (4 kB)


Flags: Important


 Description  « Hide
This job doesn't get the JMS_CONNECTION_FACTORY_JNDI and JMS_DESTINATION_JNDI parameters from the job data map, unlike SendQueueMessageJob, but instead performs lookups using the keys in JmsHelper.

tcf = (TopicConnectionFactory) ctx.lookup(JmsHelper.JMS_CONNECTION_FACTORY_JNDI);
should be
tcf = (TopicConnectionFactory) ctx.lookup(jobDataMap.getString(JmsHelper.JMS_CONNECTION_FACTORY_JNDI));

topic = (Topic) ctx.lookup(JmsHelper.JMS_DESTINATION_JNDI);
should be
topic = (Topic) ctx.lookup(jobDataMap.getString(JmsHelper.JMS_DESTINATION_JNDI));



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Fernando Ribeiro added a comment - 15/Sep/09 07:07 PM
Also valid for SendDestinationMessageJob.

Fernando Ribeiro added a comment - 21/Sep/09 02:14 PM
Any update?

James House added a comment - 22/Oct/09 09:24 PM
Thanks!