Package org.activemq.ws.xmlbeans.resource.properties

Examples of org.activemq.ws.xmlbeans.resource.properties.GetResourcePropertyDocument


public class ActiveMQNotificationBrokerTest extends TestSupport {

    public void testGetRequiresRegistrationProperty() throws Exception {
        ActiveMQNotificationBroker broker = new ActiveMQNotificationBroker();
       
        GetResourcePropertyDocument request = GetResourcePropertyDocument.Factory.newInstance();
        QName property = new QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd", "RequiresRegistration");
        request.setGetResourceProperty( property );
        System.out.println(request);
        GetResourcePropertyResponseDocument response = broker.getResourceProperty(null, request);
        System.out.println(response);
        assertNotNull(response);
        XmlCursor cursor = response.newCursor();
View Full Code Here


*/
public abstract class TestSupport extends TestCase {
    protected ActiveMQTopic topic = new ActiveMQTopic("Test");

    protected XmlObject createMessage() {
        GetResourcePropertyDocument xml = GetResourcePropertyDocument.Factory.newInstance();
        QName property = new QName("test", "test");
        xml.setGetResourceProperty( property );
        return xml;
    }
View Full Code Here

TOP

Related Classes of org.activemq.ws.xmlbeans.resource.properties.GetResourcePropertyDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.