Bug 50479 - [PATCH] JMSQueueAppender - Change message object type to make TIBCO EMS work
Summary: [PATCH] JMSQueueAppender - Change message object type to make TIBCO EMS work
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Appender (show other bugs)
Version: 1.2
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 09:32 UTC by Jamie Le Tual
Modified: 2010-12-15 09:32 UTC (History)
0 users



Attachments
Changed appender to create a TextMessage instead of an ObjectMessage (532 bytes, patch)
2010-12-15 09:32 UTC, Jamie Le Tual
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Le Tual 2010-12-15 09:32:07 UTC
Created attachment 26410 [details]
Changed appender to create a TextMessage instead of an ObjectMessage

This is a patch to the JMSQueueAppender in contrib/Jamie Tsao
The code in the contrib directory doesn't work with the TIBCO implentation of the API. I haven't looked yet at the JMS specification, but it seemed reasonable to change the message type from ObjectMessage to TextMessage.

I don't know what the exit criteria for unit testing this appender, what the reasonable set of message brokers to test on might be. 
If anyone has an opinion, I would be glad to unit test on different platforms.