Constructor and Description |
---|
JndiJMSBackend() |
Modifier and Type | Method and Description |
---|---|
BackendQueueProcessor |
createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context)
Called exactly once for each index manager using this backend.
|
void |
initialize(Properties properties,
WorkerBuildContext context)
Used at startup, called once as first method.
|
boolean |
isTransactional() |
public void initialize(Properties properties, WorkerBuildContext context)
Backend
initialize
in interface Backend
properties
- all configuration propertiescontext
- context giving access to required meta datapublic boolean isTransactional()
isTransactional
in interface Backend
true
if this backend is able to enlist in ongoing transactions.public BackendQueueProcessor createQueueProcessor(IndexManager indexManager, WorkerBuildContext context)
Backend
createQueueProcessor
in interface Backend
indexManager
- the IndexManager
the BackendQueueProcessor
will point tocontext
- context giving access to required meta dataBackendQueueProcessor
that will send its works to the given index managerCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved