You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/08/29 00:31:09 UTC
svn commit: r1518406 - in
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core:
ActiveMQConstants.cpp ActiveMQConstants.h
Author: tabish
Date: Wed Aug 28 22:31:08 2013
New Revision: 1518406
URL: http://svn.apache.org/r1518406
Log:
cleanup
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.cpp?rev=1518406&r1=1518405&r2=1518406&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.cpp Wed Aug 28 22:31:08 2013
@@ -34,7 +34,7 @@ map< std::string, ActiveMQConstants::URI
ActiveMQConstants::StaticInitializer ActiveMQConstants::staticInits;
////////////////////////////////////////////////////////////////////////////////
-ActiveMQConstants::StaticInitializer::StaticInitializer(){
+ActiveMQConstants::StaticInitializer::StaticInitializer() {
destOptions[CONSUMER_PREFECTCHSIZE] = "consumer.prefetchSize";
destOptions[CUNSUMER_MAXPENDINGMSGLIMIT] = "consumer.maximumPendingMessageLimit";
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.h?rev=1518406&r1=1518405&r2=1518406&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConstants.h Wed Aug 28 22:31:08 2013
@@ -29,7 +29,7 @@ namespace core{
* Each constant is defined as an enumeration and has functions that
* convert back an forth between string and enum values.
*/
- class AMQCPP_API ActiveMQConstants{
+ class AMQCPP_API ActiveMQConstants {
public:
// Flags to indicate Transaction States.
@@ -65,7 +65,7 @@ namespace core{
* These values represent the options that can be appended to an
* Destination name, i.e. /topic/foo?consumer.exclusive=true
*/
- enum DestinationOption{
+ enum DestinationOption {
CONSUMER_PREFECTCHSIZE,
CUNSUMER_MAXPENDINGMSGLIMIT,
CONSUMER_NOLOCAL,
@@ -81,8 +81,7 @@ namespace core{
* These values represent the parameters that can be added to the
* connection URI that affect the ActiveMQ Core API
*/
- enum URIParam
- {
+ enum URIParam {
CONNECTION_SENDTIMEOUT,
CONNECTION_PRODUCERWINDOWSIZE,
CONNECTION_CLOSETIMEOUT,