-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from wagnert/master
Allow connection configuration by passing properties file to QueueCon…
- Loading branch information
Showing
7 changed files
with
167 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?php | ||
|
||
/** | ||
* AppserverIo\Messaging\Utils\PropertyKeys | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* that is available through the world-wide-web at this URL: | ||
* http://opensource.org/licenses/osl-3.0.php | ||
* | ||
* PHP version 5 | ||
* | ||
* @author Tim Wagner <tw@appserver.io> | ||
* @copyright 2015 TechDivision GmbH <info@appserver.io> | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://github.com/appserver-io/messaging | ||
* @link http://www.appserver.io | ||
*/ | ||
|
||
namespace AppserverIo\Messaging\Utils; | ||
|
||
/** | ||
* This class holds the property keys used to create the host connection. | ||
* | ||
* @author Tim Wagner <tw@appserver.io> | ||
* @copyright 2015 TechDivision GmbH <info@appserver.io> | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://github.com/appserver-io/messaging | ||
* @link http://www.appserver.io | ||
*/ | ||
class PropertyKeys | ||
{ | ||
|
||
/** | ||
* The property name with the host address. | ||
* | ||
* @var string | ||
*/ | ||
const ADDRESS = 'address'; | ||
|
||
/** | ||
* The property name with the host port. | ||
* | ||
* @var string | ||
*/ | ||
const PORT = 'port'; | ||
|
||
/** | ||
* The property name with the transport to use. | ||
* | ||
* @var string | ||
*/ | ||
const TRANSPORT = 'transport'; | ||
|
||
/** | ||
* The property name with the index file to use. | ||
* | ||
* @var string | ||
*/ | ||
const INDEX_FILE = 'indexFile'; | ||
|
||
/** | ||
* Private constructor for marking the class as utility. | ||
*/ | ||
final protected function __construct() | ||
{ | ||
/* Class is a utility class */ | ||
} | ||
} |