[JBoss Messaging] - Bridging JMS providers
by thomasra
The new Bridge is very handy when integrating with different providers, but when that works there is a "small" added feature that could give a lot of value to developers: correlating messages on different providers. It would be very interesting to see if a simple and elegant solution such as the Bridge could be explored further to aid this common scenario. Here are some thoughts...
The specification clearly states that message id's don't need to be unique across providers, this always cuts down to creating custom solutions for replying to external JMS messages. ReplyTo indicates specifying a Destination, which is not relevant when going across providers.
Directly after sending a message the provider's jms message id is available in the message object on the client side. If the Bridge were to make that id available somehow it would be trivial to map id's between providers. Let's say there are two bridge instances set up:
1) Listens to local queue "outbound" and sends to remote provider "in"
2) Listens to remote provider "out" and sends to local queue "inbound"
If the message id obtained from sending at "1" were available somehow, we could either allow "2" to map the message (most powerful) or add a property of kind, allowing other code (perhaps the listener on "inbound") to understand the mapping.
Any thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051708#4051708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051708
18Â years, 10Â months
[JBoss Seam] - Re: Seam + Maven + Richfaces + softeu
by maku01
"-Arthur-" wrote :
| Go to your maven repo and open yourRepoPath/jboss/seam/profiles/seam-ajax4jsf and open the pom.xml
|
| Here you find transitive artifacts.
| Comment out the ajax4jsf artifact.
|
| Now go to your projects pom and add the following:
|
| | <dependency>
| | <groupId>org.richfaces</groupId>
| | <artifactId>richfaces</artifactId>
| | <version>your version</version>
| | <exclusions>
| | <exclusion>
| | <groupId>org.ajax4jsf</groupId>
| | <artifactId>ajax4jsf</artifactId>
| | </exclusion>
| | </exclusions>
| | <dependency>
| |
| | <dependency>
| | <groupId>org.ajax4jsf</groupId>
| | <artifactId>ajax4jsf</artifactId>
| | <version>your version</version>
| | </dependency>
| |
|
| assuming you have installed ajax4jsf in your repository.
|
When I define richfaces 3.0.1 and ajax4jsf 1.1.1 as dependencies (with no transitive dependencies) it WORKS!!!!!!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051704#4051704
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051704
18Â years, 10Â months
[JBoss Seam] - How can I end/destroy other conversations different from the
by bgrossi
I need to force the end of some other seam's conversations in my application, based on a request parameter, but I can't do that..
I try that code:
String[] ids = ... //The ids of conversations to end
if (ids!=null && ids.length>0) {
ConversationEntries instance = ConversationEntries.instance();
for (String id : ids) {
ConversationEntry conversationEntry = instance.getConversationEntry(id);
if (conversationEntry!=null && !conversationEntry.isCurrent()) {
conversationEntry.end();
conversationEntry.destroy();
}
}
}
But this cause only the last conversation to be destroied, and "Manager.instance().getCurrentConversationId()" returns that conversation's id (this can cause some unexpected behavior).
I need to destroy some conversations because I known that it'll not be used anymore, and I known the ids..
Can anyone help me?
Bruno E. Grossi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051696#4051696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051696
18Â years, 10Â months