Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » jpa » [javadoc | source]
org.apache.activemq.store.jpa
public class: JPAMessageStore [javadoc | source]
java.lang.Object
   org.apache.activemq.store.jpa.JPAMessageStore

All Implemented Interfaces:
    MessageStore

Direct Known Subclasses:
    JPATopicMessageStore

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
protected final  JPAPersistenceAdapter adapter     
protected final  WireFormat wireFormat     
protected final  ActiveMQDestination destination     
protected final  String destinationName     
protected  AtomicLong lastMessageId     
Constructor:
 public JPAMessageStore(JPAPersistenceAdapter adapter,
    ActiveMQDestination destination) 
Method from org.apache.activemq.store.jpa.JPAMessageStore Summary:
addMessage,   getDestination,   getMessage,   getMessageCount,   recover,   recoverNextMessages,   removeAllMessages,   removeMessage,   resetBatching,   setMemoryUsage,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.store.jpa.JPAMessageStore Detail:
 public  void addMessage(ConnectionContext context,
    Message message) throws IOException 
 public ActiveMQDestination getDestination() 
 public Message getMessage(MessageId identity) throws IOException 
 public int getMessageCount() throws IOException 
 public  void recover(MessageRecoveryListener container) throws Exception 
 public  void recoverNextMessages(int maxReturned,
    MessageRecoveryListener listener) throws Exception 
 public  void removeAllMessages(ConnectionContext context) throws IOException 
 public  void removeMessage(ConnectionContext context,
    MessageAck ack) throws IOException 
 public  void resetBatching() 
 public  void setMemoryUsage(MemoryUsage memoeyUSage) 
 public  void start() throws Exception 
 public  void stop() throws Exception