Tim Bish wrote:
>
> Creating a Java client to test with might help you rule out the if its
> the MDB or the C++ code that is faulty. Its just another Data Point to
> try and help figure out what's wrong.
>
I had a similar problem, using the Java client but it could easily be the
same issue.
Creating a Java client to test with might help you rule out the if its
the MDB or the C++ code that is faulty. Its just another Data Point to
try and help figure out what's wrong.
alexvs wrote:
That's what I tried first, but "topic/SciTegic", according to jboss is the
jndi name of the topic.
That's what I tried first, but "topic/SciTegic", according to jboss is the
jndi name of the topic. The actual topic name is SciTegic, but maybe
something else has to be appended to the name, I have no clue.
This is for a huge C++ application we're trying to integrate with an APP
server, so, unfo
Yes, I have.
datanga wrote:
>
> Hello,
>
>> destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE
>> RIGHT NAME TO USE?
>
> Have you tried to this?
>
> destination = session->createTopic( "topic/SciTegic" );
>
> Cheers,
>
> Desire
>
>
>
--
View this message in contex
BTW, have you tried making a Java client that does not use JNDI? You should
have the same result as using the C++ client. Perhaps you could simplify
your problem by cooking up a simple Java client and eliminating C++
altogether.
On 6/7/07, Nathan Mittler <[EMAIL PROTECTED]> wrote:
That would
That would be my guess (use "topic/SciTegic") ... the problem of creating
topics vs using pre-existing ones should not be a non-issue. All
topics/queues in ActiveMQ are dynamic, so it doesn't matter how you create
them (from the client-side or server-side). So long as the names are the
same, it
Hello,
> destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE
> RIGHT NAME TO USE?
Have you tried to this?
destination = session->createTopic( "topic/SciTegic" );
Cheers,
Desire
Hi Albert
Same here; I see it listed on jboss JMX console as well. If C++ calls with
a topic name of TEST.FOO, that topic is added to the list. However, nothing
happens when I use the exact same destination name as the one my MDB is
listening to. In a sense I am not "creating" a topic, I am me
Hello
You could try using JMX to look at the queues and topics on the broker.
Maybe JNDI is adding something to name, as you said.
If I pass the string "foo" to Session::createTopic, I end up with a
topic called "foo" which I can see in JMX.
Cheers,
Albert
Hi Albert - Yes, I have. No luck.
Albert Strasheim wrote:
>
> Hello
>
> On Wed, 06 Jun 2007, alexvs wrote:
>
>> I am just trying to replicate what's bound to Java's JNDI.
>> (java:topic/SciTegic). Also when I output the message to the console
>> from
>> the MDB, I get this:
>>
>> 3:37:45,
Hello
On Wed, 06 Jun 2007, alexvs wrote:
> I am just trying to replicate what's bound to Java's JNDI.
> (java:topic/SciTegic). Also when I output the message to the console from
> the MDB, I get this:
>
> 3:37:45,280 INFO [STDOUT] onMessage() - SpyTextMessage {
> Header {
>jmsDestination
I am just trying to replicate what's bound to Java's JNDI.
(java:topic/SciTegic). Also when I output the message to the console from
the MDB, I get this:
3:37:45,280 INFO [STDOUT] onMessage() - SpyTextMessage {
Header {
jmsDestination : TOPIC.SciTegic
jmsDeliveryMode : 2
jmsExpirati
On Wed, 06 Jun 2007, alexvs wrote:
> destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE RIGHT
> NAME TO USE?
I think you just want "SciTegic". Do you know of any documentation that
would indicate that you should prepend "TOPIC." ?
Cheers,
Albert
Thank you for your reply! Here is what I have on the Java side (ActiveMQ is
embedded within JBOSS btw:)
ConnectionFactory cf1 = (ConnectionFactory)
ctx.lookup("TopicConnectionFactory");
Connection connection = cf1.createConnection();
Session session = connection.createSession(false, Session.AUTO
You send the messages to a Destination with the same name as the one
you've configured your MDB to listen on.
regards
Tim
On Wed, 2007-06-06 at 10:53 -0700, alexvs wrote:
> Hi guys,
>
> I need help! I have two extra days to finish this project and I can't
> figure out how to make my C++ clien
15 matches
Mail list logo