-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #3 copy and paste now working on the send-message view
- Loading branch information
Showing
289 changed files
with
18,603 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/.classpath | ||
/.project | ||
/.DS_Store | ||
/pom.xml.versionsBackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
mqc-activemq/src/main/java/net/sf/juffrou/mq/activemq/util/ActiveMqDestinationResolver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package net.sf.juffrou.mq.activemq.util; | ||
|
||
import javax.jms.Destination; | ||
import javax.jms.JMSException; | ||
import javax.jms.Session; | ||
|
||
import net.sf.juffrou.mq.dom.QueueDescriptor; | ||
import net.sf.juffrou.mq.error.CannotFindDestinationException; | ||
|
||
import org.springframework.jms.core.JmsTemplate; | ||
|
||
public class ActiveMqDestinationResolver { | ||
|
||
|
||
public static Destination resolveDestination(JmsTemplate template, Session session, QueueDescriptor destination) { | ||
return resolveDestination(template, session, destination.getName()); | ||
} | ||
|
||
public static Destination resolveDestination(JmsTemplate template, Session session, String destinationName) { | ||
|
||
Destination destination = null; | ||
try { | ||
destination = template.getDestinationResolver().resolveDestinationName(session, destinationName, false); | ||
} catch (JMSException e) { | ||
try { | ||
destination = template.getDestinationResolver().resolveDestinationName(session, destinationName, true); | ||
} catch (JMSException e1) { | ||
e1.printStackTrace(); | ||
throw new CannotFindDestinationException("Cannot find " + destinationName, e); | ||
} | ||
} | ||
return destination; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# WebsphereMQ | ||
#broker_hostname=localhost | ||
broker_hostname=127.0.0.1 | ||
broker_hostname=localhost | ||
#broker_hostname=192.168.0.28 | ||
#broker_port=1414 | ||
#broker_port=61616 | ||
broker_port=5445 | ||
broker_port=61616 | ||
#broker_port=5445 | ||
broker_channel=giros.clients | ||
broker_queue_manager=ADX.QUEUE.MANAGER | ||
broker_username=Guest | ||
broker_userpwd=Guest | ||
broker_userpwd=guest | ||
broker_timeout=60000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18,160 changes: 18,156 additions & 4 deletions
18,160
mqc-core/src/main/resources/net/sf/juffrou/mq/messages/presenter/src-min/ace.js
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 5 additions & 1 deletion
6
mqc-core/src/main/resources/net/sf/juffrou/mq/messages/presenter/src-min/ext-beautify.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.