Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <transfer-order-config>
- <source>
- <db-config>
- <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
- <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
- </db-config>
- <init-parameters>
- <parameter>
- <name>table</name>
- <value>ORDER_SESSION</value>
- </parameter>
- <parameter>
- <name>idColumn</name>
- <value>ORDER_SESSION_ID</value>
- </parameter>
- <parameter>
- <name>dataColumn</name>
- <value>ORDER_SESSION_DATA</value>
- </parameter>
- <parameter>
- <name>processedColumn</name>
- <value>PROCESSED_FLAG</value>
- </parameter>
- </init-parameters>
- </source>
- <destination>
- <db-config>
- <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
- <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
- </db-config>
- <init-parameters>
- <parameter>
- <name>table</name>
- <value>OMS_ORDER_SESSION</value>
- </parameter>
- <parameter>
- <name>idColumn</name>
- <value>OMS_ORDER_SESSION_ID</value>
- </parameter>
- <parameter>
- <name>dataColumn</name>
- <value>ORDER_SESSION_DATA</value>
- </parameter>
- <parameter>
- <name>timeStampColumn</name>
- <value>UPDATED_DATE</value>
- </parameter>
- </init-parameters>
- </destination>
- <monitor>
- <job-name>Transfer Orders To OMS</job-name>
- <db-config>
- <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
- <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
- </db-config>
- </monitor>
- <email>
- <init-parameters>
- <parameter>
- <name>EmailOrderXSL</name>
- <value>/usr/local/sites/niche/build/WEB-INF/email-order.xsl</value>
- </parameter>
- <parameter>
- <name>CacheEmailOrderXSL</name>
- <value>false</value>
- </parameter>
- <parameter>
- <name>mailSessionServerName</name>
- <value>192.168.0.3</value>
- </parameter>
- <parameter>
- <name>senderEmailAddress</name>
- <value>nicheretail@nichestore.com</value>
- </parameter>
- <parameter>
- <name>backorderEmailSubject</name>
- <value>Status of your [siteName] Order</value>
- </parameter>
- <parameter>
- <name>backorderEmailBody</name>
- <value>Hi [customerName],
- We just wanted to give you a heads up that the following items you ordered are currently out of stock:
- [backorderEmailItemInfo]
- Please note that we typically ship backordered items out to our customers on the same day that we receive them in our warehouse. But don't worry, we'll send you an email any time the status of your order changes including tracking information once your order ships. We will NOT charge your credit card until we ship your order, and you may cancel your order at any time before it ships out. All orders are filled on a first ordered, first shipped basis.
- We're sorry about any inconvenience this delay may cause - we're waiting right along with you, and will do everything we can to get your purchase to you as quickly as possible. We really do appreciate your business.
- Questions?
- [domain]
- [siteCSPhone]
- [siteCSEmail]</value>
- </parameter>
- <parameter>
- <name>backorderEmailItemInfo</name>
- <value>[qty] [itemName]
- The latest information we have about the expected ship date is:
- [availabilityDate]</value>
- </parameter>
- <parameter>
- <name>paypalEmailSubject</name>
- <value>Your Order will Ship as Soon as We Receive Your PayPal Payment</value>
- </parameter>
- <parameter>
- <name>paypalEmailBody</name>
- <value>Hello [customerName],
- Thanks so much for placing your order with [siteName]. We truly appreciate your business, and want to do everything we can to ensure that you're satisfied with your purchase and our service.
- Since you chose PayPal as your preferred method, please ensure that the required funds are transferred to us within five (5) business days. Your order will be cancelled automatically if we do not hear from you in this time.
- If you have any questions or comments, please call us at [siteCSPhone] or email us at [siteCSEmail].
- We welcome your perspective, and would love it if you would share your experience with fellow online shoppers by posting a customer review or leaving a comment
- Best Regards,
- The [siteName] Team</value>
- </parameter>
- </init-parameters>
- </email>
- <catalog>
- <!-- Connection details that should be used by the catalog engine when connecting to the DB -->
- <db-config>
- <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
- <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
- </db-config>
- </catalog>
- <daos>
- <!--
- Change the default database to one of the other supported database types, which
- should be one of: GENERIC, ORACLE, MYSQL, DB2, or SQLSERVER
- -->
- <default-database>MYSQL</default-database>
- <!--
- Most JDBC drivers will provide connections with a default isolation level
- of "transaction read committed" which enforces that dirty reads are prevented.
- However, the DAOs handle changing the connection transaction isolation to the necessary
- isolation level before performing any sensitive operations, so most applications
- can increase their performance by lowering this setting to allow
- reads of uncommitted transactions (i.e. "dirty reads"). By setting this
- value, OCP will change the isolation levels of all connections that are
- obtained from the application server to the given level before using the connection.
- If left undefined, OCP will not change the isolation levels, so whatever default
- isolation level the JDBC driver specifies will be used for each connection.
- If it's desired to have OCP override the isolation levels, this setting should
- be set to one of the following values:
- TRANSACTION_READ_UNCOMMITTED
- TRANSACTION_READ_COMMITTED
- TRANSACTION_REPEATABLE_READ
- TRANSACTION_SERIALIZABLE
- -->
- <default-isolation-level>TRANSACTION_SERIALIZABLE</default-isolation-level>
- <!--
- Register or Override any specific DAOs by specifying an
- implementation and interface class for each.
- -->
- <!--
- <dao>
- <dao-name>ProductDAO</dao-name>
- <implementation-classname>com.fry.site.dao.SpecialProductDAOImpl</implementation-classname>
- <interface-classname>com.fry.catalog.dao.ProductDAO</interface-classname>
- </dao>
- -->
- <dao>
- <dao-name>SiteDAO</dao-name>
- <implementation-classname>com.fry.niche.ocp.engine.site.dao.SiteDAOImpl</implementation-classname>
- <interface-classname>com.fry.niche.ocp.site.dao.SiteDAO</interface-classname>
- </dao>
- <dao>
- <dao-name>NicheConfigDAO</dao-name>
- <implementation-classname>com.fry.niche.util.NicheConfigDAOGenericImpl</implementation-classname>
- <interface-classname>com.fry.niche.util.dao.NicheConfigDAO</interface-classname>
- </dao>
- </daos>
- <email>
- <init-parameters>
- <parameter>
- <name>EmailOrderXSL</name>
- <value>/usr/local/sites/nr/www/WEB-INF/email-order.xsl</value>
- </parameter>
- <parameter>
- <name>CacheEmailOrderXSL</name>
- <value>false</value>
- </parameter>
- <parameter>
- <name>mailSessionServerName</name>
- <value>192.168.0.3</value>
- </parameter>
- <parameter>
- <name>senderEmailAddress</name>
- <value>nicheretail@nichestore.com</value>
- </parameter>
- <parameter>
- <name>backorderEmailSubject</name>
- <value>Status of your [siteName] Order</value>
- </parameter>
- <parameter>
- <name>backorderEmailBody</name>
- <value>Hi [customerName],
- We just wanted to give you a heads up that the following items you ordered are currently out of stock:
- [backorderEmailItemInfo]
- Please note that we typically ship backordered items out to our customers on the same day that we receive them in our warehouse. But don't worry, we'll send you an email any time the status of your order changes including tracking information once your order ships. We will NOT charge your credit card until we ship your order, and you may cancel your order at any time before it ships out. All orders are filled on a first ordered, first shipped basis.
- We're sorry about any inconvenience this delay may cause - we're waiting right along with you, and will do everything we can to get your purchase to you as quickly as possible. We really do appreciate your business.
- Questions?
- [domain]
- [siteCSPhone]
- [siteCSEmail]</value>
- </parameter>
- <parameter>
- <name>backorderEmailItemInfo</name>
- <value>[qty] [itemName]
- The latest information we have about the expected ship date is:
- [availabilityDate]</value>
- </parameter>
- <parameter>
- <name>paypalEmailSubject</name>
- <value>Status of your [siteName] Order</value>
- </parameter>
- <parameter>
- <name>paypalEmailBody</name>
- <value>Thank you for placing your order with [siteName]. When you placed your order, you chose PayPal as your payment method. Please ensure that the funds are transferred within five (5) business days.
- Checkout with PayPal: [paypalURL]
- Your order will automatically be canceled if we do not hear from you within five (5) business days. Feel free to contact us if you have any questions or concerns.
- Questions?
- [domain]
- [siteCSPhone]
- [siteCSEmail]</value>
- </parameter>
- </init-parameters>
- </email>
- <catalog>
- <!-- Connection details that should be used by the catalog engine when connecting to the DB -->
- <db-config>
- <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
- <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
- </db-config>
- </catalog>
- <daos>
- <!--
- Change the default database to one of the other supported database types, which
- should be one of: GENERIC, ORACLE, MYSQL, DB2, or SQLSERVER
- -->
- <default-database>MYSQL</default-database>
- <!--
- Most JDBC drivers will provide connections with a default isolation level
- of "transaction read committed" which enforces that dirty reads are prevented.
- However, the DAOs handle changing the connection transaction isolation to the necessary
- isolation level before performing any sensitive operations, so most applications
- can increase their performance by lowering this setting to allow
- reads of uncommitted transactions (i.e. "dirty reads"). By setting this
- value, OCP will change the isolation levels of all connections that are
- obtained from the application server to the given level before using the connection.
- If left undefined, OCP will not change the isolation levels, so whatever default
- isolation level the JDBC driver specifies will be used for each connection.
- If it's desired to have OCP override the isolation levels, this setting should
- be set to one of the following values:
- TRANSACTION_READ_UNCOMMITTED
- TRANSACTION_READ_COMMITTED
- TRANSACTION_REPEATABLE_READ
- TRANSACTION_SERIALIZABLE
- -->
- <default-isolation-level>TRANSACTION_SERIALIZABLE</default-isolation-level>
- <!--
- Register or Override any specific DAOs by specifying an
- implementation and interface class for each.
- -->
- <!--
- <dao>
- <dao-name>ProductDAO</dao-name>
- <implementation-classname>com.fry.site.dao.SpecialProductDAOImpl</implementation-classname>
- <interface-classname>com.fry.catalog.dao.ProductDAO</interface-classname>
- </dao>
- -->
- <dao>
- <dao-name>SiteDAO</dao-name>
- <implementation-classname>com.fry.niche.ocp.engine.site.dao.SiteDAOImpl</implementation-classname>
- <interface-classname>com.fry.niche.ocp.site.dao.SiteDAO</interface-classname>
- </dao>
- <dao>
- <dao-name>NicheConfigDAO</dao-name>
- <implementation-classname>com.fry.niche.util.NicheConfigDAOGenericImpl</implementation-classname>
- <interface-classname>com.fry.niche.util.dao.NicheConfigDAO</interface-classname>
- </dao>
- </daos>
- </transfer-order-config>
Add Comment
Please, Sign In to add comment