Tadayoshi Sato created JBESB-3944:
-------------------------------------
Summary: DBMessageStoreImpl.insert(...) method always sets delivered to
"TRUE"
Key: JBESB-3944
URL:
https://issues.jboss.org/browse/JBESB-3944
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Message Store, Rosetta
Affects Versions: 4.12
Reporter: Tadayoshi Sato
{{DBMessageStoreImpl.insert(...)}} method doesn't use the {{delivered}} argument and
hardcodes the value {{"TRUE"}}.
{code:java}
private void insert(URI uid, Message message, String classification, String delivered,
Connection conn)
throws SQLException, MessageStoreException
{
String sql = "insert into "+tableName+"(uuid, type, message,
delivered, classification) values(?,?,?,?,?)";
PreparedStatement ps = null;
try
{
ps = conn.prepareStatement(sql);
...
ps.setString(4, "TRUE");
...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira