[
http://jira.jboss.com/jira/browse/JBMESSAGING-624?page=all ]
Ovidiu Feodorov updated JBMESSAGING-624:
----------------------------------------
Fix Version/s: Unscheduled
(was: 1.0.3.CR1)
Running on DB2
--------------
Key: JBMESSAGING-624
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-624
Project: JBoss Messaging
Issue Type: Patch
Components: Messaging Core Persistence
Affects Versions: 1.0.1.GA
Environment: jboss messaging 1.0.1GA, windows xp, DB2 8.2 iSeries
Reporter: Tomaz Cerar
Fix For: Unscheduled
Attachments: db2-persistence-service.xml
Original Estimate: 2 days
Remaining Estimate: 2 days
To make jboss messaging 1.0.1GA work with DB2 there must be attribute UsingBinaryStream
in class JDBCPersistenceManager made configurable from service file.
in JDBCPersistenceManager you add methods:
/**
* Managed attribute.
*/
public boolean isUsingBinaryStream()throws Exception {
return usingBinaryStream;
}
/**
* Managed attribute.
*/
public void setUsingBinaryStream(boolean usingBinaryStream)throws Exception {
this.usingBinaryStream = usingBinaryStream;
}
and in JDBCPersistenceManager-xmbean.xml
you have to add:
<attribute access="read-write" getMethod="isUsingBinaryStream"
setMethod="setUsingBinaryStream">
<description>Should JDBC read as binary stream be used?</description>
<name>UsingBinaryStream</name>
<type>boolean</type>
</attribute>
db2-persistence-service.xml
--
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