Author |
Message |
Topic: publish/subscribe - How to ensure persistent delivery |
igor.beslic
Replies: 3 Views: 5949
|
Forum: IBM MQ Java / JMS Posted: Thu Feb 24, 2011 2:57 am Subject: Problem solved |
Vitor thanks!
I made changes according docs you pointed and I got my retained publications:
MessageProducer mp = jmsSession.createProducer(feedTopic);
mp.setDeliveryMode(DeliveryMo ... |
Topic: publish/subscribe - How to ensure persistent delivery |
igor.beslic
Replies: 3 Views: 5949
|
Forum: IBM MQ Java / JMS Posted: Wed Feb 23, 2011 7:20 am Subject: publish/subscribe - How to ensure persistent delivery |
Hi, plese help me to solve my Publish/Subscribe problem. I have publisher that publishes to topic named FEED every 5min.
There are random number of subscribers who occationaly connects to MQ and read ... |
Topic: XA Transactions - Insert JMS message data to database in MDB |
igor.beslic
Replies: 2 Views: 8885
|
Forum: IBM MQ Java / JMS Posted: Tue Dec 07, 2010 12:32 pm Subject: XA Transactions - Insert JMS message data to database in MDB |
Thanks for reply!
Today I did this:
- configured new JDBC Provider at WAS 6.1 to work with XA-compliant JDBC driver (DB2 UDB for iSiries - Toolbox XA)
- configured new XA Datasource
- maped resour ... |
Topic: XA Transactions - Insert JMS message data to database in MDB |
igor.beslic
Replies: 2 Views: 8885
|
Forum: IBM MQ Java / JMS Posted: Mon Dec 06, 2010 3:32 pm Subject: XA Transactions - Insert JMS message data to database in MDB |
Hi! I have problem to solve XA Transaction problem in environment where I want to insert received an JMS message data to database. My configuration is:
Websphere MQ 6 at iSeries (AS400)
DB2 at iSe ... |
Topic: Convert old MQ Api code to JMS |
igor.beslic
Replies: 4 Views: 5209
|
Forum: IBM MQ Java / JMS Posted: Fri Dec 03, 2010 12:02 am Subject: Solution |
Hi, solution follows. This example reads messages from all topics selected by expression "FEED/+". (Also, publisher published messeges as persistent messages so reader gets all unreaded mess ... |
Topic: Convert old MQ Api code to JMS |
igor.beslic
Replies: 4 Views: 5209
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 30, 2010 10:47 pm Subject: Convert old MQ Api code to JMS |
Yes, that post refer to connection factory setup. (maybe it is important to say that publisher published messages to topics with option DeliveryMode.PERSISTENT) |
Topic: Convert old MQ Api code to JMS |
igor.beslic
Replies: 4 Views: 5209
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 30, 2010 6:12 am Subject: Convert old MQ Api code to JMS |
Hi, my intention is to convert this peace of code:
log.debug("MQ211HI03: retrieving prices from MQ...");
// subscription
final String pricesTopicStr = "FEED/*&q ... |
Topic: Value for wildcardFormat property on TopicConnectionFactory |
igor.beslic
Replies: 4 Views: 7040
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 30, 2010 4:23 am Subject: Value for wildcardFormat property on TopicConnectionFactory |
At the end, I've changed topic string to "PRICES/ZSE/+" and now I'm receiving messages.
Regarding playing with JCA parameters to topicConnectionFactory I have final conclusion:
setting ... |
Topic: Value for wildcardFormat property on TopicConnectionFactory |
igor.beslic
Replies: 4 Views: 7040
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 30, 2010 2:35 am Subject: Value for wildcardFormat property on TopicConnectionFactory |
mqjeff,
you were right regarding constants but while observing subscriptions in MQ Explorer I was surprised to see that jboss subscription no matter what wildcardFormat parameter is, always connects ... |
Topic: Value for wildcardFormat property on TopicConnectionFactory |
igor.beslic
Replies: 4 Views: 7040
|
Forum: IBM MQ Java / JMS Posted: Fri Aug 27, 2010 3:22 am Subject: Value for wildcardFormat property on TopicConnectionFactory |
Hi,
I've decompiled ConnectionFactory, the property is an integer so changing cf con to:
<config-property name="wildcardFormat" type="java.lang.Integer">0</config-proper ... |
Topic: Value for wildcardFormat property on TopicConnectionFactory |
igor.beslic
Replies: 4 Views: 7040
|
Forum: IBM MQ Java / JMS Posted: Fri Aug 27, 2010 2:48 am Subject: Value for wildcardFormat property on TopicConnectionFactory |
Hi,
do anybody know what is right value for wildcardFormat parameter on MQ JCA adapter topic connection factory. I use v7 wmq.jmsra.rar deployed to JBoss AS 5.1.0. and I'm trying to subscribe to tp ... |
Topic: JMS - How to publish Retained Message |
igor.beslic
Replies: 5 Views: 8367
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 16, 2009 3:12 am Subject: JMS - How to publish Retained Message |
topic = jmsSession.createTopic(msg.getTargetTopic());
This seems just plain wrong to me.
At this point your message has been defined by new MyMessage();
OK. We have well known and defined ... |
Topic: JMS - How to publish Retained Message |
igor.beslic
Replies: 5 Views: 8367
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 16, 2009 2:49 am Subject: Re: JMS - How to publish Retained Message |
Are you sure you are not confusing "retained message"
I'm not sure In my project I'm publisher, another company team writes subscriber software. What they told me was that when they made ... |
Topic: JMS - How to publish Retained Message |
igor.beslic
Replies: 5 Views: 8367
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 15, 2009 1:34 am Subject: JMS - How to publish Retained Message |
Hi!
I'm trying to migrate MQ Java application to JMS application. After first tests when first subscribers connected I realized messages were not retained. (I got just messages published to topics af ... |