#include <FilePublisher.h>
Public Member Functions | |
FilePublisher () | |
~FilePublisher () | |
void | Init () |
string | Prepare () |
Make an engagement whether it can/can't process the data More... | |
void | Commit () |
Commits the work More... | |
void | Abort () |
Aborts the work and rolls back the data More... | |
void | Rollback () |
Rollback More... | |
void | Process (const string &correlationId) |
Processes the data More... | |
string | Serialize (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc, const string &xsltFilename, const string &filename, const unsigned long fileSize=0, const string &HMAC="") |
bool | moreMessages () const |
pthread_t | getWatcherThreadId () |
Public Member Functions inherited from Endpoint | |
virtual | ~Endpoint () |
void | Start () |
void | Stop () |
bool | PerformMessageLoop () |
bool | PerformMessageLoop (bool inBatch) |
virtual void | trackMessage (const string &payload, const NameValueCollection &transportHeaders) |
void | setPersistenceFacility (AbstractStatePersistence *facility) |
AbstractStatePersistence * | getPersistenceFacility () |
void | setServiceName (const string &value) |
void | setServiceThreadId (const string &serviceThreadId) |
pthread_t | getThreadId () |
const pthread_t | getThreadId () const |
FilterChain * | getFilterChain () |
BatchManagerBase * | getBatchManager () |
Static Public Member Functions | |
static string | XPathCallback (const string &itemNamespace) |
Static Public Member Functions inherited from Endpoint | |
static void * | StartInNewThread (void *) |
static void | setManagementCallback (void(*callback)(TransactionStatus::TransactionStatusEnum, void *)) |
static void | setGlobalSettings (AppSettings *settings) |
Protected Member Functions | |
void | internalStart () |
void | internalStop () |
Protected Member Functions inherited from Endpoint | |
Endpoint () | |
string | getServiceName () const |
void | setCorrelationId (const string &correlationId) |
AppSettings & | getGlobalSettings () const |
bool | haveGlobalSetting (const EndpointConfig::ConfigDirection prefix, const EndpointConfig::ConfigSettings setting) const |
string | getGlobalSetting (const EndpointConfig::ConfigDirection prefix, const EndpointConfig::ConfigSettings setting, const string &defaultValue="__NODEFAULT") const |
Private Member Functions | |
void | WriteMessage (const char *message, const streamsize length) |
string | HMAC_ShaGen (const string &inData, const string &privateKey) |
string | SaveBlobToFile (const string &xmlData) |
Private Attributes | |
MqWatcher | m_Watcher |
string | m_WatchQueue |
string | m_WatchQueueManager |
string | m_WatchTransportURI |
bool | m_WMQBatchFilter |
bool | m_StrictSwiftFormat |
bool | m_First |
string | m_MessageId |
string | m_BatchId |
string | m_DestFileName |
string | m_ReplyDestFileName |
string | m_RenameFilePattern |
ofstream | m_DestFile |
FinTPMessage::Metadata | m_Metadata |
string | m_BlobLocator |
string | m_BlobFilePattern |
Static Private Attributes | |
static string | m_DestinationPath = "" |
static string | m_ReplyDestinationPath = "" |
static string | m_ReplyPattern = "" |
static string | m_Pattern = "" |
static string | m_TransformFile = "" |
static string | m_ReplyFeedback ="" |
static string | m_TempDestinationPath = "" |
static FilePublisher * | m_Me = NULL |
Additional Inherited Members | |
Protected Attributes inherited from Endpoint | |
BatchManagerBase * | m_BatchManager |
AbstractStatePersistence * | m_PersistenceFacility |
unsigned int | m_BackoutCount |
unsigned int | m_CurrentStage |
unsigned int | m_CrtBatchItem |
string | m_ServiceName |
string | m_ServiceThreadId |
string | m_CorrelationId |
string | m_LastFailureCorrelationId |
string | m_TransactionKey |
pthread_t | m_SelfThreadId |
bool | m_Running |
bool | m_LastOpSucceeded |
AbstractWatcher::NotificationPool | m_NotificationPool |
NameValueCollection | m_TransportHeaders |
string | m_XmlData |
AppException | m_TrackingData |
bool | m_IsLast |
bool | m_TrackMessages |
FilterChain * | m_FilterChain |
Static Protected Attributes inherited from Endpoint | |
static void(* | m_ManagementCallback )(TransactionStatus::TransactionStatusEnum, void *additionalData) = NULL |
FilePublisher::FilePublisher | ( | ) |
FilePublisher::~FilePublisher | ( | ) |
|
virtual |
Aborts the work and rolls back the data
Implements Endpoint.
|
virtual |
Commits the work
Implements Endpoint.
|
inlinevirtual |
Implements Endpoint.
|
private |
|
virtual |
Implements Endpoint.
|
protectedvirtual |
Implements Endpoint.
|
protectedvirtual |
Implements Endpoint.
|
virtual |
Reimplemented from Endpoint.
|
virtual |
Make an engagement whether it can/can't process the data
Implements Endpoint.
|
virtual |
|
virtual |
Rollback
Implements Endpoint.
|
private |
string FilePublisher::Serialize | ( | XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | doc, |
const string & | xsltFilename, | ||
const string & | filename, | ||
const unsigned long | fileSize = 0 , |
||
const string & | HMAC = "" |
||
) |
|
private |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |