notifications/ 0000755 0000764 0000764 00000000000 11043511763 014054 5 ustar ldimaggi ldimaggi notifications/jbm-queue-service.xml 0000644 0000764 0000764 00000003773 11043511223 020127 0 ustar ldimaggi ldimaggi
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
notifications/jboss-esb.xml 0000644 0000764 0000764 00000013247 11043511763 016474 0 ustar ldimaggi ldimaggi
notifications/jbmq-queue-service.xml 0000644 0000764 0000764 00000002445 11030103544 020302 0 ustar ldimaggi ldimaggi
jboss.mq:service=DestinationManager
jboss.mq:service=DestinationManager
jboss.mq:service=DestinationManager
jboss.mq:service=DestinationManager
notifications/lib/ 0000755 0000764 0000764 00000000000 11030103544 014610 5 ustar ldimaggi ldimaggi notifications/log4j.xml 0000644 0000764 0000764 00000005360 11030103542 015605 0 ustar ldimaggi ldimaggi
notifications/build.xml 0000644 0000764 0000764 00000003654 11030103542 015671 0 ustar ldimaggi ldimaggi
${ant.project.name}
${line.separator}
Runs Test JMS Sender
Runs Test ESB Message Sender
Runs Queue destination message receiver
Runs Topic destination message receiver
notifications/readme.txt 0000644 0000764 0000764 00000007136 11030103542 016045 0 ustar ldimaggi ldimaggi Overview:
=========
The purpose of the notifications quickstart sample is to demonstrate how to
use the various Notifier classes. This quickstaart provides a client with
the ability to send a message to the NotificationService/SimpleNotifier
service and receive notifications of various types.
The following notification scenarios are demonstrated:
NotifyConsole
NotifyEmail*
NotifyQueue
NotifyTopic
NotifyFTP*
NotifyFiles*
NotifySQLTable*
All of the notification scenarios with asterisk have been disbled by
being commented out in jboss-esb.xml. You can enable them for execution by
removing the comments. Some of these scenarios require additional software
to be setup:
NotifyFTP - requires an FTP server to be avilable for use
NotifySQLTable - requires an SQL database with certain tables to be avilable
See the jboss-esb.xml file for more details on these requirements.
NotifyConsole will write the contents of the ESB message to the Application
Server console. NotifyQueue will translate the ESB message into a JMS
message and send it to the Queue "queue/quickstarts_notifications_queue".
NotifyTopic will translate the ESB message into a JMS
message and publish it to the Topic "topic/quickstarts_notifications_topic"
Running this quickstart:
========================
Please refer to 'ant help-quickstarts' for prerequisites about the quickstart
and a more detailed descripton of the different ways to run the quickstarts.
To Run standalone mode:
=======================
1. In a command terminal window in the quickstart folder type
'ant deploy-jms-dests'.
2. In a command terminal window in this folder ("Window1"), type 'ant run'.
3. Open another command terminal window in this folder ("Window2"), type
'ant runtest'.
4. Switch back to "Window1" to see the output from the ESB
5. When finished, interrupt the ESB using Ctrl-C and, in this folder
("Window1"), type 'ant undeploy-jms-dests'.
To Run '.esb' archive mode:
===========================
1. In a command terminal window in this folder ("Window1"), type 'ant deploy'
to deploy the archive quickstart_notifications.esb. This will also
deploy the necessary queues and topics for the quickstart.
2. In another command terminal window in this folder ("Window2"), type
'ant receive-from-queue'. This will start a process to receive messages
sent to the Queue 'queue/quickstart_notifications_queue'.
3. In another command terminal window in this folder ("Window3"), type
'ant receive-from-topic'. This will start a process to receive messages
sent to the Topic 'topic/quickstart_notifications_topic'.
4. Open another command terminal window in this folder ("Window4"), type
'ant runtest'.
5. Switch back to Application Server console to see the output from the ESB
6. You should see notification messages received by the Queue in Window2 and
the Topic in Window3. For example, in the case of ("Window2"):
[echo] Runs Queue destination message receiver
[java] Receiving on: queue/quickstart_notifications_queue
[java] Initialised
[java] *********************************************************
[java] Hello from ESB-unaware JMS Client
[java] *********************************************************
7. In ("Window2"), type Ctrl-C to kill the process listening on the Queue.
8. In ("Window3"), type Ctrl-C to kill the process listening on the Topic.
9. In this folder ("Window1"), type 'ant undeploy' to undeploy the ESB
archive from the ESB.
notifications/src/ 0000755 0000764 0000764 00000000000 11030103542 014627 5 ustar ldimaggi ldimaggi notifications/src/org/ 0000755 0000764 0000764 00000000000 11030103542 015416 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/ 0000755 0000764 0000764 00000000000 11030103542 016536 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/ 0000755 0000764 0000764 00000000000 11030103542 017320 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/esb/ 0000755 0000764 0000764 00000000000 11030103542 020071 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/esb/samples/ 0000755 0000764 0000764 00000000000 11030103542 021535 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/esb/samples/quickstart/ 0000755 0000764 0000764 00000000000 11030103542 023727 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/ 0000755 0000764 0000764 00000000000 11030103542 026600 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/MyAction.java 0000644 0000764 0000764 00000003332 11030103542 031167 0 ustar ldimaggi ldimaggi /*
* JBoss, Home of Professional Open Source
* Copyright 2006, JBoss Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License, v. 2.1.
* This program is distributed in the hope that it will be useful, but WITHOUT A
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License,
* v.2.1 along with this distribution; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
* (C) 2005-2006,
* @author JBoss Inc.
*/
package org.jboss.soa.esb.samples.quickstart.notifications;
import org.jboss.soa.esb.actions.AbstractActionLifecycle;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.message.Body;
import org.jboss.soa.esb.message.Message;
public class MyAction extends AbstractActionLifecycle
{
protected ConfigTree _config;
public MyAction(ConfigTree config) { _config = config; }
public Message noOperation(Message message) { return message; }
public Message setIDforMessage(Message message) throws Exception {
System.out.println("in setID " + message.getHeader().getCall().getMessageID());
message.getProperties().setProperty("jbossesb.message.id", message.getHeader().getCall().getMessageID());
return message;
}
}
notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/ 0000755 0000764 0000764 00000000000 11030103544 027561 5 ustar ldimaggi ldimaggi notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/SendJMSMessage.java 0000644 0000764 0000764 00000005631 11030103544 033201 0 ustar ldimaggi ldimaggi /*
* JBoss, Home of Professional Open Source
* Copyright 2006, JBoss Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License, v. 2.1.
* This program is distributed in the hope that it will be useful, but WITHOUT A
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License,
* v.2.1 along with this distribution; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
* (C) 2005-2006,
* @author JBoss Inc.
*/
package org.jboss.soa.esb.samples.quickstart.notifications.test;
import java.util.Properties;
import javax.jms.JMSException;
import javax.jms.ObjectMessage;
import javax.jms.Queue;
import javax.jms.QueueConnection;
import javax.jms.QueueConnectionFactory;
import javax.jms.QueueSender;
import javax.jms.QueueSession;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
public class SendJMSMessage {
QueueConnection conn;
QueueSession session;
Queue que;
public void setupConnection() throws JMSException, NamingException
{
Properties properties1 = new Properties();
properties1.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
properties1.put(Context.URL_PKG_PREFIXES,
"org.jboss.naming:org.jnp.interfaces");
properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
InitialContext iniCtx = new InitialContext(properties1);
Object tmp = iniCtx.lookup("ConnectionFactory");
QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
conn = qcf.createQueueConnection();
que = (Queue) iniCtx.lookup("queue/quickstart_notifications_gw");
session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
conn.start();
System.out.println("Connection Started");
}
public void stop() throws JMSException
{
conn.stop();
session.close();
conn.close();
}
public void sendAMessage(String msg) throws JMSException {
QueueSender send = session.createSender(que);
ObjectMessage tm = session.createObjectMessage(msg);
send.send(tm);
send.close();
}
public static void main(String args[]) throws Exception
{
SendJMSMessage sm = new SendJMSMessage();
sm.setupConnection();
sm.sendAMessage(args[0]);
sm.stop();
}
}
././@LongLink 0000000 0000000 0000000 00000000152 00000000000 011563 L ustar root root notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/ReceiveJMSMessageFromTopic.java notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/ReceiveJMSMessageFromTopic0000644 0000764 0000764 00000010332 11030103542 034565 0 ustar ldimaggi ldimaggi /*
* JBoss, Home of Professional Open Source
* Copyright 2006, JBoss Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License, v. 2.1.
* This program is distributed in the hope that it will be useful, but WITHOUT A
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License,
* v.2.1 along with this distribution; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
* (C) 2005-2006,
* @author JBoss Inc.
*/
package org.jboss.soa.esb.samples.quickstart.notifications.test;
import javax.jms.Topic;
import javax.jms.TopicConnection;
import javax.jms.TopicConnectionFactory;
import javax.jms.TopicSubscriber;
import javax.jms.TopicSession;
import javax.jms.TextMessage;
import javax.jms.JMSException;
import javax.naming.InitialContext;
import org.jboss.soa.esb.samples.quickstart.notifications.test.TextListener;
public class ReceiveJMSMessageFromTopic {
TopicConnectionFactory tcf = null;
TopicConnection conn = null;
TopicSession session = null;
Topic topic = null;
TopicSubscriber subscriber = null;
InitialContext iniCtx = null;
String topicName = "topic/D"; // Default to topic/D
TextListener listener = null ;
private boolean initialised ;
public ReceiveJMSMessageFromTopic() {
}
private void initialise()
{
try {
// lookup the TopicConnectionFactory
if (iniCtx == null) iniCtx = new InitialContext();
if (tcf == null) tcf = (TopicConnectionFactory) iniCtx.lookup("ConnectionFactory");
// create and start a connection to JMS suitable for interacting with topics
if (conn == null) {
conn = tcf.createTopicConnection();
// conn.start();
}
// look up the Topic we want to subscribe to and create a TopicSession
// for that topic
topic = (Topic) iniCtx.lookup(topicName);
session = conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);
// create a TopicSubscriber to the Topic within the TopicSession
subscriber = session.createSubscriber(topic);
initialised = true ;
System.out.println("Initialised") ;
} catch (final Exception ex) {
cleanup() ;
}
}
public void cleanup() {
subscriber = null ;
session = null ;
topic = null ;
try {
conn.stop() ;
} catch (final Exception ex) {
// Do nothing ;
}
conn = null ;
tcf = null ;
iniCtx = null ;
initialised = false ;
}
public static void main(String[] args) {
// create an instance of our helper object
final ReceiveJMSMessageFromTopic topicHelper = new ReceiveJMSMessageFromTopic();
if ((args.length > 0) && (args[0] != null)) {
topicHelper.topicName = args[0];
System.out.println("Receiving on: " + topicHelper.topicName );
}
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
topicHelper.cleanup() ;
}
}) ;
// init the helper object
topicHelper.initialise() ;
try {
// set a TextListener to process pubnlished messages asynchronously
topicHelper.listener = new TextListener() ;
topicHelper.subscriber.setMessageListener(topicHelper.listener) ;
// make the connection active
topicHelper.conn.start() ;
// TextListener will now pull messages ad infinitum
// shutdown hook will be called at Ctrl-C
// Fix for: http://jira.jboss.com/jira/browse/SOA-456
while (true) { // loop until I'm killed
try {
Thread.sleep(500);
} catch (InterruptedException e) {break;}
}
}
catch(JMSException e) {
System.out.println("Exception occurred: " + e.toString()) ;
}
}
}
notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/TextListener.java 0000644 0000764 0000764 00000001776 11030103544 033071 0 ustar ldimaggi ldimaggi package org.jboss.soa.esb.samples.quickstart.notifications.test ;
import javax.jms.MessageListener ;
import javax.jms.Message ;
import javax.jms.TextMessage ;
import javax.jms.JMSException ;
/**
* This class is used by a topic subscriber to receive messages sent to
* the topic asynchronously and print out the contents.
*/
public class TextListener implements MessageListener {
public void onMessage(Message message) {
TextMessage msg = null ;
try {
if (message instanceof TextMessage) {
msg = (TextMessage) message ;
if (msg != null) {
System.out.println("******************************************************************") ;
System.out.println(msg.getText()) ;
System.out.println("******************************************************************") ;
}
}
}
catch(JMSException e) {
System.out.println("JMSException in onMessage(): " + e.toString()) ;
}
catch(Throwable t) {
System.out.println("Exception in onMessage(): " + t.getMessage()) ;
}
}
} notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/ReceiveJMSMessage.java 0000644 0000764 0000764 00000011606 11030103542 033667 0 ustar ldimaggi ldimaggi /*
* JBoss, Home of Professional Open Source
* Copyright 2006, JBoss Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License, v. 2.1.
* This program is distributed in the hope that it will be useful, but WITHOUT A
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License,
* v.2.1 along with this distribution; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
* (C) 2005-2006,
* @author JBoss Inc.
*/
package org.jboss.soa.esb.samples.quickstart.notifications.test;
import javax.jms.Queue;
import javax.jms.QueueConnection;
import javax.jms.QueueConnectionFactory;
import javax.jms.QueueReceiver;
import javax.jms.QueueSession;
import javax.jms.TextMessage;
import javax.naming.InitialContext;
public class ReceiveJMSMessage {
QueueConnection conn = null;
QueueSession receiverSession = null;
Queue receiverQueue = null;
QueueReceiver queueReceiver = null;
InitialContext iniCtx = null;
QueueConnectionFactory qcf = null;
String receiveQueueName = "queue/D"; // Default to queue/D
private boolean initialised ;
public ReceiveJMSMessage() {
}
public void receiveOne() {
if (!initialised) {
initialise() ;
}
if (receiverQueue != null) {
try {
TextMessage msg = (TextMessage) queueReceiver.receive();
if (msg != null) {
System.out.println("*********************************************************");
System.out.println(msg.getText());
System.out.println("*********************************************************");
}
} catch (final Exception ex) {
cleanup() ;
System.out.println(ex.getMessage()) ;
}
}
if (!initialised) {
System.out.println("Pausing before reinitialising") ;
try {
Thread.sleep(5000) ;
} catch (final InterruptedException ie) {
// do nothing
}
}
}
private void initialise()
{
try {
if (iniCtx == null) iniCtx = new InitialContext();
if (qcf == null) qcf = (QueueConnectionFactory) iniCtx.lookup("ConnectionFactory");
if (conn == null) {
conn = qcf.createQueueConnection();
conn.start();
}
receiverQueue = (Queue) iniCtx.lookup(receiveQueueName);
receiverSession = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
queueReceiver = receiverSession.createReceiver(receiverQueue);
initialised = true ;
System.out.println("Initialised") ;
} catch (final Exception ex) {
cleanup() ;
}
}
public void cleanup() {
queueReceiver = null ;
receiverSession = null ;
receiverQueue = null ;
try {
conn.stop() ;
} catch (final Exception ex) {
// Do nothing ;
}
conn = null ;
qcf = null ;
iniCtx = null ;
initialised = false ;
}
public static void main(String[] args) {
final ReceiveJMSMessage receiver = new ReceiveJMSMessage();
if ((args.length > 0) && (args[0] != null)) {
receiver.receiveQueueName = args[0];
System.out.println("Receiving on: " + receiver.receiveQueueName );
}
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
receiver.cleanup() ;
}
}) ;
while (true) { // loop until I'm killed
receiver.receiveOne();
}
}
}
notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/test/SendEsbMessage.java 0000644 0000764 0000764 00000004164 11030103544 033261 0 ustar ldimaggi ldimaggi /*
* JBoss, Home of Professional Open Source
* Copyright 2006, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.soa.esb.samples.quickstart.notifications.test;
import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.message.format.MessageFactory;
import org.jboss.soa.esb.client.ServiceInvoker;
/**
* Standalone class with to send ESB messages to a 'known' [category,name].
*
arg0 - service category
*
arg1 - service name
*
arg2 - Text of message to send
*
* @author schifest@heuristica.com.ar
* @since Version 4.0
*
*/
public class SendEsbMessage
{
public static void main(String args[]) throws Exception
{
// Setting the ConnectionFactory such that it will use scout
System.setProperty("javax.xml.registry.ConnectionFactoryClass","org.apache.ws.scout.registry.ConnectionFactoryImpl");
if (args.length < 3)
{
System.out.println("Usage SendEsbMessage ");
}
Message esbMessage = MessageFactory.getInstance().getMessage();
esbMessage.getBody().add(args[2]);
new ServiceInvoker(args[0], args[1]).deliverAsync(esbMessage);
}
}
notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/MyJMSListenerAction.java 0000644 0000764 0000764 00000003345 11030103542 033253 0 ustar ldimaggi ldimaggi /*
* JBoss, Home of Professional Open Source
* Copyright 2006, JBoss Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License, v. 2.1.
* This program is distributed in the hope that it will be useful, but WITHOUT A
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License,
* v.2.1 along with this distribution; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
* (C) 2005-2006,
* @author JBoss Inc.
*/
package org.jboss.soa.esb.samples.quickstart.notifications ;
import org.jboss.soa.esb.actions.AbstractActionLifecycle;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.message.Message;
public class MyJMSListenerAction extends AbstractActionLifecycle
{
protected ConfigTree _config;
public MyJMSListenerAction(ConfigTree config) { _config = config; }
public Message displayMessage(Message message) throws Exception{
System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
System.out.println("Body: " + message.getBody().get()) ;
System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
return message;
}
}
notifications/listener.log 0000644 0000764 0000764 00000000000 11043512014 016360 0 ustar ldimaggi ldimaggi notifications/juddi.properties 0000644 0000764 0000764 00000004501 11030103544 017257 0 ustar ldimaggi ldimaggi # jUDDI Registry Properties (used by RegistryServer)
# see http://www.juddi.org for more information
# The UDDI Operator Name
juddi.operatorName = jUDDI.org
# The i18n locale default codes
juddi.i18n.languageCode = en
juddi.i18n.countryCode = US
# The UDDI DiscoveryURL Prefix
juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
# The UDDI Operator Contact Email Address
juddi.operatorEmailAddress = admin@juddi.org
# The maximum name size and maximum number
# of name elements allows in several of the
# FindXxxx and SaveXxxx UDDI functions.
juddi.maxNameLength=255
juddi.maxNameElementsAllowed=5
# The maximum number of UDDI artifacts allowed
# per publisher. A value of '-1' indicates any
# number of artifacts is valid (These values can be
# overridden at the individual publisher level).
juddi.maxBusinessesPerPublisher=25
juddi.maxServicesPerBusiness=20
juddi.maxBindingsPerService=10
juddi.maxTModelsPerPublisher=100
# jUDDI Authentication module to use
juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
# jUDDI DataStore module currently to use
juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
# use a dataSource (if set to false a direct
# jdbc connection will be used.
juddi.isUseDataSource=false
juddi.jdbcDriver=com.mysql.jdbc.Driver
juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
juddi.jdbcUsername=root
juddi.jdbcPassword=admin
# jUDDI DataSource to use
# juddi.dataSource=java:comp/env/jdbc/MySqlDS
# jUDDI UUIDGen implementation to use
juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
# jUDDI Cryptor implementation to use
juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
# jUDDI Validator to use
juddi.validator=org.apache.juddi.validator.DefaultValidator
# jUDDI Proxy Properties (used by RegistryProxy)
juddi.proxy.adminURL = http://localhost:8080/juddi/admin
juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
juddi.proxy.publishURL = http://localhost:8080/juddi/publish
juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
# JNDI settings (used by RMITransport)
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming
notifications/jndi.properties 0000644 0000764 0000764 00000000321 11030103542 017076 0 ustar ldimaggi ldimaggi java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming
java.naming.factory.url.pkgs=org.jnp.interfaces
notifications/build/ 0000775 0000764 0000764 00000000000 11042223710 015144 5 ustar ldimaggi ldimaggi notifications/build/classes/ 0000775 0000764 0000764 00000000000 11042223710 016601 5 ustar ldimaggi ldimaggi notifications/build/classes/org/ 0000775 0000764 0000764 00000000000 11042223710 017370 5 ustar ldimaggi ldimaggi notifications/build/classes/org/jboss/ 0000775 0000764 0000764 00000000000 11042223710 020510 5 ustar ldimaggi ldimaggi notifications/build/classes/org/jboss/soa/ 0000775 0000764 0000764 00000000000 11042223710 021272 5 ustar ldimaggi ldimaggi notifications/build/classes/org/jboss/soa/esb/ 0000775 0000764 0000764 00000000000 11042223710 022043 5 ustar ldimaggi ldimaggi notifications/build/classes/org/jboss/soa/esb/samples/ 0000775 0000764 0000764 00000000000 11042223710 023507 5 ustar ldimaggi ldimaggi notifications/build/classes/org/jboss/soa/esb/samples/quickstart/ 0000775 0000764 0000764 00000000000 11042223710 025701 5 ustar ldimaggi ldimaggi notifications/build/classes/org/jboss/soa/esb/samples/quickstart/notifications/ 0000775 0000764 0000764 00000000000 11042223710 030552 5 ustar ldimaggi ldimaggi ././@LongLink 0000000 0000000 0000000 00000000151 00000000000 011562 L ustar root root notifications/build/classes/org/jboss/soa/esb/samples/quickstart/notifications/MyJMSListenerAction.class notifications/build/classes/org/jboss/soa/esb/samples/quickstart/notifications/MyJMSListenerAction.c0000664 0000764 0000764 00000002644 11042223710 034527 0 ustar ldimaggi ldimaggi 1 G
" # $ % &
' ( )
" *
+ , - . /
0
1 2 3 _config &Lorg/jboss/soa/esb/helpers/ConfigTree; )(Lorg/jboss/soa/esb/helpers/ConfigTree;)V Code LineNumberTable LocalVariableTable this HLorg/jboss/soa/esb/samples/quickstart/notifications/MyJMSListenerAction; config displayMessage H(Lorg/jboss/soa/esb/message/Message;)Lorg/jboss/soa/esb/message/Message; message #Lorg/jboss/soa/esb/message/Message;
Exceptions 4
SourceFile MyJMSListenerAction.java 5 6 7 8 0&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 9 : ; java/lang/StringBuilder Body: <