Hello Team
I have a situation - I got an MDB that needs by passing the secured JMS Server.
That is, I have a secured JBM using DatabaseLoginModule.
The login-config.xml's messaging domain reflects use of this module.
The messaging-service.xml is updated to add the DefaultSecurityConfig.
Now,
You can secure your destinations (topics/queues) either individually or on a
global basis.
Individual security:
Add the 'SecurityConfig' attribute with appropriate role access as shown below
to the individual destination configuration:
| mbean
Sorry for delaying in reply.
Well, checkout your application-policy configuration in conf/login-config.xml.
There should be a JmsXARealm policy defined - however this MCF is being
created with guest credentials by default.
However, this is not the actual solution, you could change these
To me it seems you are accessing the JBM without appropriate credentials
(obviously!).
That is, as you haven't mentioned about the store where you are reading the
credentials, I am assuming you are going with default setup that comes with JBM
installation.
If this is the case, then the
Vikas,
it depends on where your login module is looking the authentication details.
If you are working on the JBM defaults, it reads the users and roles from two
files: messaging-roles.properties and messaging-users.properties.
These files should be available under deploy/jboss-messaging.sar
As far as I can tell, JBM can run on 4.0.x series without any major issues. I
am running JBM 1.2.GA on 4.0.5.GA in Production!
Although this is not advisable, due to many restrictions in the project, we
have no option except running JBM on 4.0.5.GA. All seems well (except few minor
quirks) so
Here we go:
My requirement is to fetch the messages from a topic in the same order they
have been published. If Messages M1, M2, M3 are published in that order, my
consumers should receive them in the same order -- M1, M2 and M3.
Is this possible with JBM 1.2?
View the original post :
Tim, could you explain me why this isn't possible for Topic?AFAIK, if there's
only one subscriber, the order is preserved. However, why is it different if I
have multiple subscribers? Could you give me details technically?
View the original post :
Tim/Team
I have a business requirement to preserve the order of messages posted on a
topic. AFAIK, JMS doesn't define the message ordering. However, few providers
went a mile ahead and implemented message ordering above the spec.
How about JBM? If I use 1.2.0, can I get the Message order by
http://jira.jboss.com/jira/browse/JBMESSAGING-1106
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094582#4094582
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094582
___
Tim, I am looking for *RedeliveryDelay* to introduce a time gap before
redelivery of the failed delivery - usually after a rollback set in MDB due to
an exception.
My messaging-service.xml has this attribute set as
attribute name=DefaultRedeliveryDelay1/attribute
I tried to set the
Tim/Team
Is there a way we could add new feature to remove a single message from the
Destination, perhaps based on a message id? Currently, we can only remove *all*
messages, but this feature would be helpful so I can pick and delete a message
individually.
Thansks
Madhu
View the original
JBM 1.2_SP2
JBoss 4.0.5.GA
I have set up RedeliveryDelay attribute to 50 to test a simple scenario -
however, the messages are delivered to MDB instantly inspite of this delay.
I have the DefaultRedelveryDelay set to 10 too.
Any pointers as to what happening here?
View the original
I have a situation that I need to publish a message in a NotSupported method of
an EJB. However, when I do the publication, the message doesn't appear.
To give you more background, read the below:
Once the publication is completed, the NotSupported method returns to the
caller and the flow
Why would you recommend not to use JmsXA, tim?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085975#4085975
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085975
___
jboss-user
Would you remember the bug link, Genman?
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4086242#4086242
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086242
___
I don't think (I may be wrong) that JBM supports subcontext creation during
destination deployment (useful feature though).
That is, in your case, for creating /var/spool/test, it first has to create a
context called var followed by another subContext call spool and then another
subContext
Nope, sourceforge has got only until 1.2.0.GA (I am after 1.2.0.SP1) - I can
download from SVN, but am looking for a pre-built binary.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072905#4072905
Reply to the post :
I am not sure if this is deliberate, I can't see 1.2.0.GA/SP1 versions of JBM
on downloads page: http://labs.jboss.com/jbossmessaging/downloads
I am planning to upgrade to SP1 but couldn't see SP1 (or SP2) added to the
downloads list. I am stuck with JBoss 4.0.5.GA and hence won't be able to
Also, could you please confirm me that the SP_patch_00017255 succeds 1_2_0_SP1
(I am sure it must have, but want to double check).
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072893#4072893
Reply to the post :
Okay Tim, understandable.
I'll do the way it's been asked.
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072919#4072919
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072919
I have setup a connectionfactory with a default client id as shown below:
| ?xml version=1.0 encoding=UTF-8?
| server
| loader-repositoryjboss.messaging:loader=ScopedLoaderRepository
|
loader-repository-configjava2ParentDelegation=false/loader-repository-config
My goal is to encrypt datasouce passwords in our current production system.
I followed the wiki and wrote a class (module) of my own. I've created (almost
copied) the SecurityIdentityLoginModule to have properties such as pbePass,
algo, salt and iterationCount configured.
I did the following:
I'm planning to use SecureIdentityLoginModule and PBEIdentityLoginModule for
encrypting these passwords as it was mentioned on Wiki.
However, I have a particular requirement that in PBEIdentityLoginModule, the
pbepass, salt and prefereably iteration count to be provided by secured config
I'm not sure if it's a restriction placed by JBM, but it seems that if have a
dot in the client or subscription id, I get an IllegalArgumentException:
Invalid message queue name: testDurableSub.x.y.x
[I can see that identifying the sub id and client id from above pattern is not
possible and
Probably a silly question, but couldn't figure out why - I've configured JmsXA
to be enlisted in Global Name Space and deployed (see below)
20070621 09:00:32.333 INFO [main] ConnectionFactoryBindingService.Bound
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to
JNDI
And this is my tx-connection-factory definition:
!-- JMS XA Resource adapter, use this to get transacted JMS in beans --
|tx-connection-factory
| jndi-nameJmsXA/jndi-name
| use-java-contextfalse/use-java-context
| xa-transaction/
| rar-namejms-ra.rar/rar-name
BTW, I am accessing the CF from a Stanalone client (and hence JmsXA bound to
Global NS)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056320#4056320
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056320
Does't say anything here thuogh:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory
What I'm trying to achieve is like this:
In a standalone client, I need to use UserTransaction to scope JMS and DB work.
That is, I need to send a message and update the DB, all in one
Hello Tim, this is what I did and it works!!
| /**
| * Method that receives the messages on the specific destination and
persist
| * them into a database table all in one transaction.
| *
| * If the transction is committed, the message is consumed from the
|
Tim, I've changed this to XAConnectionFactory (somewhere I read that
XAConnectionFactory is used internal:( - wrong iterpretation, I guess).
I do understand the concerns raised, I'm putting forward them.
Thanks
Madhu
View the original post :
Lovely!
Tim, could you tell me what the fix is (probably I'll build into my local
copy)? I can't wait.. :)
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049672#4049672
Reply to the post :
All,
I have followed the wiki documentation to set up jmx and web console security.
All is good till this point.
Is it possible to have a bit more granular level security? That is, user
depending upon the role, can browse, invoke or no access the MBeans?
With the current setup, once if user
I have developed set of tools to browse messages on destinations for Kabutar.
The approach I've taken is to use JBoss JMS MBeans rather than clumsy JMS
QueueBrowser.
I am able to create/fetch the MBean responsible for the destination of my
interest, however, when I try to have a peek at the
You can locate/create a Queue/TopicMBean by following method (from Kabutar):
| private void initDestinationInfo(String destName, String type)
| {
|
| try
| {
|
| mBeanServer = JMXUtil.getMBeanServer(ContextUtil.getContext());
|
|
I'm wondering if I can pass a encrypted password to create a connection from
connection factory:
| connection =
connectionFactory.createConnection(username,encrypted_password);
|
My application-policy has been set up to use custom database login module which
reads/writes
anonymous wrote : The execution of a method of an enterprise bean with
container-managed transaction demarcation
| for which the value of the transaction attribute is NOT_SUPPORTED, NEVER,
or SUPPORTS.
However Wayne, I am able to use UT from a REQUIRED method too, which I think
the above
Tim, i think this thread is related:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031979#4031979
Some of the attributes are ommitted and a JIRA case(JBOSSMESSAGING-938) has
been raised. I am not sure of the status of the JIRA case though.
Thanks
Madhu
View the original post :
I have a CMT bean with a method set to Never as tx attribute.
- If I get the UserTransction from SessionContext(), I do get an
IllegalStateException (java.lang.IllegalStateException: CMT beans are not
allowed to get a UserTransaction) which is expected
- However, I am able to get the same UT
Thanks for your answer Wayne. Irrespective of the attrubute type, the use of UT
is prohibited.
So my point is - the use of UT in CMT is not allowed according to EJB Spec but
looks like we have a way to get around this restriction (if I am not missing
something obvious :) )
Whenever my method
Hello All,
Screen shots of Kabutar(Browze):
http://www.euroindian.com/images/stories/kabutar_screenshot1.jpg
http://www.euroindian.com/images/stories/kabutar_screenshot3.jpg
http://www.euroindian.com/images/stories/kabutar_screenshot3.jpg
I've been working on a personal project since few
The GNU General Public License (GPL). (Don't quiz me more about these licenses
- I'm in a process of reading them :) ).
Throw any suggestions if you have regarding licensing, Ovidiu.
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045076#4045076
Ovidiu and Tim, I have changed the license to LGPL.
Thanks for the pointers.
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045143#4045143
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045143
I am not entirely sure if this helps, but in your datasource configuration, you
may have to add the security-domain bit instead of username and password:
security-domainmessaging/security-domain
Thanks
Madhu
View the original post :
ofcourse 'messaging' being your application policy defined in yoru
login-config.xml (I see you have defined as messaging)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042516#4042516
Reply to the post :
The ejb is accessing the timerservice for which it requires (if you turn it on)
to persit the timers in database.
Did you have DefaultDS configured properly so it can create the
table-if-not-exists?
I would first check the DefaultDS datasoruce config, then check the user if he
has permission
u know how to turn it off, dont' u?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042086#4042086
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042086
___
jboss-user mailing list
Check the deploy/ejb-deployer.xml.
You may have to comment
org.jboss.ejb.txtimer.DatabasePersistencePolicy mbean block and enable
org.jboss.ejb.txtimer.NoopPersistencePolicy block (which is curretnly closed).
Thant should do the trick
View the original post :
Tim/Team? Any feedback on this?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041808#4041808
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041808
___
jboss-user mailing list
Tim, what about other attribtes, such as:
callbackStore
clientSocketClass
serverSocketClass
NumberOfCallRetries
etc..
Do you suggest we should supply these attributes same way as that long string?
Thanks
Madhu
View the original post :
I tried applying your fix Tim, but the conenctor is still startign on the port
specified in remoting-service.xml (at 4457 port instead of my defined one in
bindings file)
Also, the after ever poperty=value in the above string must be read as
(else will get a SAX exception)
View the original
Tim, here's my service-config def in bindings file:
| config
| invoker transport=bisocket
| attribute name=marshaller
isParam=trueorg.jboss.jms.server.remoting.JMSWireFormat/attribute
| attribute name=unmarshaller
You mean subscriptions, right?
Go to the JNDIView of the relevant Topic and invoke listAllSubscriptions() to
get the list of all subscriptions.
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036438#4036438
Reply to the post :
Here's the method that would do what you need.
| private void testSubscriptionsList(String destName, String type) throws
Exception {
|
| QueueMBean queueMBean = null;
| TopicMBean topicMBean = null;
|
| try {
|
Read this link - shout if you have any questions:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035901#4035901
Reply to the post :
By any chance do you have JBM installed on the local server (A) too?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035928#4035928
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035928
Also, the JmsXA will return a XAConnectionFactory. Are you starting a Tx but
not committing?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035929#4035929
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035929
I am wondeirng if there's any alternative to encrypt datasource passwords?
I have followed
http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords the
link. However, my requirement is slightly variant.
My requirement is to create the *-ds.xml with encrypted password quoted in
Thanks Clebert.
Any idea when is gonna go for implementation? Would please raise a JIRA request
on this issue?
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033913#4033913
Reply to the post :
Holidaying? Burried in code writing?
Guys, where are you hiding? We miss you here..he he
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033613#4033613
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033613
That's sad news Ovidiu.
We must have bored you here at Messaging :)
You have been quite patient and understanding. I must commend you in bringing
JBM to this great stage, ofcourse with your Team.
Where are you surfacing, I mean which team?
/Thanks
Madhu
View the original post :
Sorry clebert, I posted the wrong code (yes older version) by mistake by in
actual I am usign this one Clebert (which is the new one):
!-- * JBoss Messaging --
|
| service-config
name=jboss.messaging:service=Connector,transport=socket
|
I think you are posting this in the wrong forum - post it back in JBossMQ forum.
JBossMQ is default JMS provider with JBoss-4.0.5.
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033047#4033047
Reply to the post :
JBM-1.2.0.GA
JBoss 4.0.5.GA
I have updated my binginds file to reflect the service-config for
ServiceBindingManager (shown below):
service-config name=jboss.messaging:service=Connector,transport=socket
|
delegateClass=org.jboss.services.binding.AttributeMappingDelegate
Good analysis.
How did you resolve?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033217#4033217
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033217
___
jboss-user mailing
JBM UserGuide says:
anonymous wrote : The maximum number of delivery attempts can be specified
using the attribute DefaultMaxDeliveryAttempts for a global default or
individually on a per destination basis.
So, this should work for a individual destination(I have not tried):
|mbean
Looking at the code, I don't think that's been implemented although mentioned
in the doc:
Here's DestinationMBean's definition@
| public interface DestinationMBean
| {
|// JMX attributes
|
|String getName();
|
|String getJNDIName();
|
|void
You may be true - I tried posting to a Queue with expiration, but seems
persisted with value 0 (no expiration).
Possible bug?
Thanks
/Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032072#4032072
Reply to the post :
imaeses, that was a good post.
I can't deny your conclusions about Solaris, but only I can add my
observations: I have had no problems with Solaris/Linux machines but Windows.
So, I am not sure whether this problem is related with machines/OSs at all.
However, as it was hitting our
Also, as Ovidiu suggested, as you are still having the issues with SP4, re-open
the bug:
http://jira.jboss.org/jira/browse/JBMESSAGING-749
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031010#4031010
Reply to the post :
1.create a *-destination-service.xml file and deploy it under deploy directory
with the followign example contents:
| server
| loader-repository
| jboss.messaging:loader=ScopedLoaderRepository
|
loader-repository-configjava2ParentDelegation=false/loader-repository-config
|
As you have not deployed your MBean in a scoped env (unfortunately you should
have them scoped - there's a work around, see below), your JMS client is
failing..
So, the best and official way is - to scope your client!
Unofficial way - replace the JBoss's jboss-remoting.jar with those bundled
Probably this link may answer your question:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Deploying_a_scoped_MDB_container
Although it's for deploying scoped MDB, principal should be same, I suppose.
Thanks
Madhu
View the original post :
you have (AFAIK) two choices:
1. create an EJB that can publish messages using standard JMS API (and ofcourse
using MDB to subscribe/consume)
2. Create a service (MBean) that can instantiate your test client (if you
expose a method on the MBean, it can be invoked via JMX console.
Thanks
Madhu
have you had a chance to look at this:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance
Hope this helps. Shout if not.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029421#4029421
Reply to the
Have a look at the initial discussion about the ssue:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028316#4028316
Weston, here's the stack trace:
| 2007-03-15 13:47:12,563 INFO [test.com.cmi2.hib.HibernateMDB] ---
setMDBContext
| 2007-03-15 13:47:12,568 INFO
Interestigly, if I chage the *ds file to reflect Loal XA DS, everythings woks
fine!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028402#4028402
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028402
Eurekha! it wored..!!C an you give me a brief explanation Weston?
Thanks for your help.
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028425#4028425
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028425
I couldn't find appropriate proeprty to delay the intiial RM startup Tim.
properties depends=arjuna name=recoverymanager
| !--
| Properties used only by the RecoveryManager.
| --
| !--
| Periodic recovery settings.
| Time values in this
I tried to figure out the topic info from the JBM_POSTOFFICE table (1.2.0.GA),
but it seems I can only see queue.* stuff. I don't think this is intended.
(check your database explorer or hypersonic to see the table details).
Out of curiosity, does this table replace the older CHANNEL_MAPPING
The sybase-persistence-service.xml has a column called CLUSTERED in table
JBM_POSTOFFICE. Unfortunately this is a keyword in sybase and hence needs to be
changed appropriately (I''ve changed to JBM_CLUSTERED)
My Sybase version: ASE:12.5
Thanks
MAdhu
View the original post :
BTW, the info is correctly shown in JNDIView
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027908#4027908
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027908
___
jboss-user
In the earlier versions of JBM, I used to provide the providerName using the
format shown below
| property
name=com.arjuna.ats.jta.recovery.XAResourceRecoveryMessaging
value=org.jboss.jms.recovery.JMSProviderXAResourceRecovery;ProviderName=DefaultJMSProvider/
|
(Ofcourse the class
Sorry Tim, I didn't get you there.
How do you provide the proivder name?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027989#4027989
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027989
As RecoveryManager starts before the DefaultJMSPrvider is hooked up, we may
receive name not found exceptions something like this:
| 2007-03-14 16:14:26,542 INFO [com.arjuna.ats.jta.logging.loggerI18N]
[com.arjuna.ats.internal.jta.recovery.info.loading] Local XARecoveryModule
loading
Hello all,
I have a local JBossAS (with co-existing JMS but unsed!) and a remote JMS
(purley JMS stuff) servers running parallel.
I've upgraded JBM to 1.2.0GA (JBoss4.0.3SP1)on both the servers (infact, I've
built new instances to make sure nothing hangs from the previous installations)
I had to go with another version of AOP+Remoting then!
But, in the current state, I have got all the latest stuff (BTW, currently I
downloaded JBoss 4.0.5GA - So,I've moved to Jboss.4.05GA + JTS 4.2 +JBM 1.2.0GA)
Are you not in UK tim?
View the original post :
This is the exception by upgrading to all new stuff:
17:49:13,881 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure
detected for testMDB
| java.lang.IllegalAccessError: tried to access class
org.jboss.aop.ClassAdvisor$1 from class org.jboss.aop.ClassAdvisor
| at
I've completely started from a clean state tim. Thre's no chance that there's
any old jar lying around.
When I drop in a MDB (I've got the DefaultJMSProvider setup correctly) in the
EAI app sefver, I get the IllegalAccessError!
View the original post :
It is set to false Tim:
false
No, the servers are running under no security.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026384#4026384
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026384
It was clebert, the earlier message was posted to (too much used to type Tim
:)).
The first stack trace was with jboss-4.0.3SP1+1.0.1GA (+inhouse XA)
Second one was wtih JBoss-4.0.5GA+JBM1.2.0GA
Currently I'm working on second setup (almost ditching the first one in favour
of second *if*
Guys,
excuse me if answered earlier - but wondering the procedure to secure JBM based
on LDAP? Any pointers are much appreciated!
Thanks
Madhu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4021038#4021038
Reply to the post :
Tim, I don't have those properties in my remoting-service.xml or bindings.xml
files.
So, I have added and changed the serializatingtype to jms and deployed.
I get this NCFE:
| 14:31:22,168 ERROR [SocketServerInvoker] Failed to accept socket connection
| java.lang.ClassNotFoundException: No
Ohh IC..I missed the boat..
However, in my remoting-service.xml, I have serializationtype attribute set to
jboss instead of jms as mentioned in the posted example file.
Does this attribute really matters?
View the original post :
He he he..
This comment in the xml file is quite serious - made me think if this could be
of any priority..hence the post tim..he he..
!-- Serialization type must be jms - do not change! --
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000996#4000996
Reply
Is there a way I can control the redelivery timing?
That is, I want to pause the redelviery for few secs before asking the MDB to
retry the failed message.
Probably some flag similar to redelivery atempts (MaxTimeRedelivered)?
Thanks
Madhu
View the original post :
Thanks for quick answer Tim. Unfortunately I am still on 1.0. Any quick
workaround?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000368#4000368
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000368
I created a simple durable MDB.
In my onMessage(), I create an Exception and throw it so that during try-catch,
I'll rollback the Tx by calling mdbContext.setRollbackOnly().
I pump in messages to the destination where this MDB is listening to.
First message is redelivered as expected. The
Server A is purely an applicaiton server (call it as EAI server) without JMS
(JBossMessaging) capabilities.
Server B is purely JMS server (with JBossMessage 1.0.1GA) call it as JMS Server.
The EAI server has been started on Dec 21 at 11pm. It connected to JMS server
and all is happy.
On 23rd
Hello Kabir
Followed your instructions:
- I unjar'd jnpserver.jar
- I ran aopc on the unjar'd classes
- I deployed the new aop'd jar (jnpserver-aop.jar) to the server (removed the
existing jnpserver.jar)
- I changed the base-aop.xml to include my bind poincut expression (mentioned
earlier)
I
1 - 100 of 132 matches
Mail list logo