"ataylor" wrote : anonymous wrote : Cool, it is nice to see that you guys from
JBoss are willing to suggest a straight replacement of JBoss Microcontainer by
Spring Framework
|
| I wouldnt say that, this is just something i was messing round with.
|
Well, I have actually suspected that
"Leos.Bitto" wrote :
| Cool, it is nice to see that you guys from JBoss are willing to suggest a
straight replacement of JBoss Microcontainer by Spring Framework.
Well.. we're not recommending a replacement of JBoss MC by Spring.
But we also realise that a lot of people use Spring, or A.N.
anonymous wrote : Cool, it is nice to see that you guys from JBoss are willing
to suggest a straight replacement of JBoss Microcontainer by Spring Framework
I wouldnt say that, this is just something i was messing round with.
anonymous wrote : Your example is missing the JMS objects needed at t
"ataylor" wrote : or If you want to run a full standalone server in spring use
something like the following and make sure the JBM config files are available
on the classpath
|
Cool, it is nice to see that you guys from JBoss are willing to suggest a
straight replacement of JBoss Microcontain
or If you want to run a full standalone server in spring use something like the
following and make sure the JBM config files are available on the classpath
| http://www.springframework.org/schema/beans";
|xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
|xsi:schemaLoc
Because I have started this thread about embedding the JBoss Messaging server,
here is my solution for everybody who would need it:
| import java.util.HashMap;
| import java.util.HashSet;
| import java.util.Map;
| import java.util.Set;
| import org.jboss.messaging.core.config.Configura
"rkapur123" wrote : Hi Leos.bitto
|
| I have jboss SOA 4.3 ESB which has Jboss Messaging as messaging provoder.
|
| Using Spring framework's MDP (message driven pojo) - I want to listen on
"sampleQueue". As per springframework 2.5 guide - MDP is a simple class which
implements javax.jms
Hi Leos.bitto
I have jboss SOA 4.3 ESB which has Jboss Messaging as messaging provoder.
Using Spring framework's MDP (message driven pojo) - I want to listen on
"sampleQueue". As per springframework 2.5 guide - MDP is a simple class which
implements javax.jms.MessageListener onMessage(). I have
anonymous wrote : We are misunderstood in this case. I need to create the
topic, which this method does not accomplish - let me quote the specification:
Yeah i know the spec :), i was assuming you had previously created the
destination, this was so you could look it up with out using vendor spe
OK fine, you should just be able to instantiate it directly as mentioned
previously :)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241115#4241115
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241115
___
"timfox" wrote : "Leos.Bitto" wrote :
| | Nice, but what is "session"?
|
| http://java.sun.com/javaee/5/docs/api/javax/jms/Session.html
We are misunderstood in this case. I need to create the topic, which this
method does not accomplish - let me quote the specification:
Note that this
"Leos.Bitto" wrote :
| Nice, but what is "session"?
http://java.sun.com/javaee/5/docs/api/javax/jms/Session.html
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241110#4241110
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
"ataylor" wrote : also you can use
|
|
| | session.createTopic(topicName);
| |
Nice, but what is "session"?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241107#4241107
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&
"jmesnil" wrote :
| Regarding jbm-jms.xml, it will be picked up if it is in the classpath.
Could you place it in a separate directory and add it to the classpath of the
other server instance instead?
|
Sure, I could do that. My setup was a bit messy, because I was just
experimenting with
also you can use
| session.createTopic(topicName);
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241089#4241089
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241089
___
"Leos.Bitto" wrote : Thanks a lot for all the quick answers! Navigating me to
JMSServerManagerImpl was exactly what I needed. I do not like
JMSServerManagerImpl much for embedding, though, because of two reasons. First
is that it somehow automagically picks the file jbm-jms.xml, which in my case
Hi Leos-
JMSServerManager is only really used for loading JMS queue, topic and
connection factory descriptions from jbm-jms.xml into JNDI and also registering
them with JMX. The JMX call to createTopic in JMSServerManager basically just
does that. (Actually I think we should rename them to "dep
Hi Tim,
"timfox" wrote :
| JMSServerManager is only really used for loading JMS queue, topic and
connection factory descriptions from jbm-jms.xml into JNDI and also registering
them with JMX. The JMX call to createTopic in JMSServerManager basically just
does that. (Actually I think we shoul
Thanks a lot for all the quick answers! Navigating me to JMSServerManagerImpl
was exactly what I needed. I do not like JMSServerManagerImpl much for
embedding, though, because of two reasons. First is that it somehow
automagically picks the file jbm-jms.xml, which in my case belongs to a
differ
To clarify Jeff's answer a bit:
The MessagingServer you created is a "core" server. A core server knows nothing
about JMS - it's completely JMS agnostic, therefore it knows nothing about
topics.
This is discussed in the user manual:
http://www.jboss.org/file-access/default/members/jbossmessagi
When using the core API there i s no such thing as a topic, we only deal with
queues. Basically a topic consists of an address with multiple queues bound to
it where each queue will have a consumer(subscriber).
If you are using JMS then i would recommend taking a look at the
JMSServerManager, y
The queue you created is a core queue.
The preferred way to create JMS destinations is using the JMSServerManagerImpl
on top of the MessagingServer you created:
| Configuration configuration = new ConfigurationImpl();
| configuration.setPersistenceEnabled(false);
| configuration.setSecu
22 matches
Mail list logo