Class JPAProducer
- java.lang.Object
-
- org.wso2.carbon.business.messaging.hl7.store.jpa.JPAProducer
-
- All Implemented Interfaces:
org.apache.synapse.message.MessageProducer
public class JPAProducer extends Object implements org.apache.synapse.message.MessageProducer
-
-
Constructor Summary
Constructors Constructor Description JPAProducer(JPAStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cleanup()
String
getId()
void
setId(int id)
boolean
storeMessage(org.apache.synapse.MessageContext messageContext)
-
-
-
Constructor Detail
-
JPAProducer
public JPAProducer(JPAStore store)
-
-
Method Detail
-
storeMessage
public boolean storeMessage(org.apache.synapse.MessageContext messageContext)
- Specified by:
storeMessage
in interfaceorg.apache.synapse.message.MessageProducer
-
cleanup
public boolean cleanup()
- Specified by:
cleanup
in interfaceorg.apache.synapse.message.MessageProducer
-
setId
public void setId(int id)
- Specified by:
setId
in interfaceorg.apache.synapse.message.MessageProducer
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.apache.synapse.message.MessageProducer
-
-