This discussion is archived
2 Replies Latest reply: Aug 5, 2011 1:35 AM by MagnusE RSS

Question about POF config in incubator

MagnusE Explorer
Currently Being Moderated
As far as I could see the pof-config file supplied with the incubator JAR does not include the default pof-config in the coherence JAR. Is this no longer required or is it assumed that users will create a pof-config that includes BOTH the incubator and default pof config files?

/Magnus
  • 1. Re: Question about POF config in incubator
    pmackin Journeyer
    Currently Being Moderated
    Hi Magnus

    Your application''s POF config should include the Coherence POF config. For example, here is a Messaging Pattern application that includes Coherence POF and Common POF, plus a new type.
    <pof-config>
         <user-type-list>
              <include>coherence-pof-config.xml</include>
              <include>coherence-common-pof-config.xml</include>
              <include>coherence-messagingpattern-pof-config.xml</include>
              
              <user-type>
                <type-id>2000</type-id>
                <class-name>MyPayload</class-name>
            </user-type>
              
          </user-type-list>
    </pof-config>
    Paul
  • 2. Re: Question about POF config in incubator
    MagnusE Explorer
    Currently Being Moderated
    Yes since each component requires its own pof-stuff it makes sense to not include the coherence-pof file in each of them! - thanks for the info!

    /Magnus

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points