org.sharengo.wikitty.jms
Class WikittyJMSUtil

java.lang.Object
  extended by org.sharengo.wikitty.jms.WikittyJMSUtil

public class WikittyJMSUtil
extends Object

Version:
$Revision: 1 $ Last update: $Date: 2010-04-16 10:29:38 +0200 (ven., 16 avril 2010) $ by : $Author: echatellier $
Author:
ruchaud

Field Summary
static String ACTION_CLEAR
          specify clear action in message
static String ACTION_DELETE
          specify delete action in message
static String ACTION_STORE
          specify store action in message
static String JNDI_PROVIDER_URL
          provider url for jndi
static String PARAM_ACTION
          parameter action in message specifying action to perform
static String PARAM_DISABLE_AUTO_VERSION_INCREMENT
          parameter disableAutoVersionIncrement in message with boolean
static String PARAM_EXTENSIONS
          parameter ids in message with List
static String PARAM_IDS
          parameter ids in message with List
static String PARAM_WIKITTIES
          parameter wikitties in message with List
static String TOPIC_CONNECTION_FACTORY
          topic factory name in JMS
static String TOPIC_EXTENSION_STORAGE
          topic use for WikittyExtensionStorage in JMS
static String TOPIC_WIKITTY_STORAGE
          topic use for WikittyStorage in JMS
 
Constructor Summary
WikittyJMSUtil()
           
 
Method Summary
static void addXAResource(WikittyTransaction transaction, javax.jms.XATopicSession topicSession)
          Add topicSession XAResource in transaction
static void logMessageHeaders(org.apache.commons.logging.Log logger, javax.jms.Message message)
          Log message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOPIC_CONNECTION_FACTORY

public static final String TOPIC_CONNECTION_FACTORY
topic factory name in JMS

See Also:
Constant Field Values

TOPIC_WIKITTY_STORAGE

public static final String TOPIC_WIKITTY_STORAGE
topic use for WikittyStorage in JMS

See Also:
Constant Field Values

TOPIC_EXTENSION_STORAGE

public static final String TOPIC_EXTENSION_STORAGE
topic use for WikittyExtensionStorage in JMS

See Also:
Constant Field Values

ACTION_STORE

public static final String ACTION_STORE
specify store action in message

See Also:
Constant Field Values

ACTION_DELETE

public static final String ACTION_DELETE
specify delete action in message

See Also:
Constant Field Values

ACTION_CLEAR

public static final String ACTION_CLEAR
specify clear action in message

See Also:
Constant Field Values

PARAM_WIKITTIES

public static final String PARAM_WIKITTIES
parameter wikitties in message with List

See Also:
Constant Field Values

PARAM_DISABLE_AUTO_VERSION_INCREMENT

public static final String PARAM_DISABLE_AUTO_VERSION_INCREMENT
parameter disableAutoVersionIncrement in message with boolean

See Also:
Constant Field Values

PARAM_IDS

public static final String PARAM_IDS
parameter ids in message with List

See Also:
Constant Field Values

PARAM_ACTION

public static final String PARAM_ACTION
parameter action in message specifying action to perform

See Also:
Constant Field Values

PARAM_EXTENSIONS

public static final String PARAM_EXTENSIONS
parameter ids in message with List

See Also:
Constant Field Values

JNDI_PROVIDER_URL

public static final String JNDI_PROVIDER_URL
provider url for jndi

See Also:
Constant Field Values
Constructor Detail

WikittyJMSUtil

public WikittyJMSUtil()
Method Detail

addXAResource

public static void addXAResource(WikittyTransaction transaction,
                                 javax.jms.XATopicSession topicSession)
                          throws Exception
Add topicSession XAResource in transaction

Parameters:
transaction - transaction
topicSession - session
Throws:
Exception

logMessageHeaders

public static void logMessageHeaders(org.apache.commons.logging.Log logger,
                                     javax.jms.Message message)
Log message

Parameters:
logger -
message -


Copyright © 2010 CodeLutin. All Rights Reserved.