[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-624) Running on DB2

Tomaz Cerar (JIRA) jira-events at jboss.com
Thu Oct 26 04:55:41 EDT 2006


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
         Assigned To: Ovidiu Feodorov


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

        



More information about the jboss-jira mailing list