integration

Exceptions in Spring Integration: How to log but not intercept

落花浮王杯 提交于 2019-12-06 07:20:59
Say that I have a basic Spring Integration flow like: <jms:inbound-channel-adapter> <poller> <transactional/> </poller> </jms:inbound-channel-adapter> <some:outbound-channel-adapter/> If the outbound adapter throws an exception the entire transaction is rolled back. If the inbound message subsystem supports it the message will be redelivered a number of times until it will eventually be posted on the Dead Letter Queue. This is fine - except that the exception itself is lost which is very annoying from a diagnostic point of view. If I configure the inbound adapter with an error-channel like:

Vim integration with GHCi

点点圈 提交于 2019-12-06 06:51:28
问题 I'm trying to use Vim as a Haskell IDE, and, though I'm not a hardcore Vim user, I enjoy the mode-based way of editing. The only thing I'm missing after my Emacs period is integration with GHCi. In the latter editor you can just type C-c C-l (the same shortcut for all kinds of REPL environments) to reload the current source file and switch to the split window with the interpreter in it. That possibility is indispensable for rapid prototyping, TDD and so on. I'm sure that I've done

Spring-Drools Integration: Referenced file (kie-spring.xsd) contains errors

你。 提交于 2019-12-06 06:36:39
问题 I'm trying to use drools with Spring. Spring version 4.01 Drools/Kie version 6.0.1 My kie-context.xml has the following error (in Eclipse): Referenced file contains errors (http://drools.org/schema/kie-spring.xsd). For more information, right click on the message in the Problems View and select "Show Details..." kie-context.xml: (imported in applicationContext.xml) <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org

What ClearCase plugin to use with Visual Studio 2008 SP1

半世苍凉 提交于 2019-12-06 06:18:28
问题 At work I have to use ClearCase v7.0.1.2 and ClearQuest v7.0.1.0 with Visual Studio 2008 SP1. Am running on a Windows XP SP2 box. I've done some searching but not found an official installer yet, can anyone advise (provide a link to) on the best plugin/addin to install for Visual Studio 2008 integration? Thanks 回答1: The official instructions are in this IBM page CC-CQ-VS2008.zip (32 bits) CC-CQ-VS2008.zip (64 bits) Process: Download the appropriate package from the FTP link below to your

C++ from SpeakHere in iPhone app

送分小仙女□ 提交于 2019-12-06 05:19:02
问题 I've made a template app where I've grabbed the recording part of the SpeakHere example and removed the file handling part, but I'm struggeling to get the C++ part of the app working right. As soon as it enters the C++ class, it gets syntax errors. If I don't import the header files from C++ (and then of course don't use the code) into my Objective C classes, all works fine. I cannot see the difference between how I'm doing it and the example is doing it. Can you see the difference? I've

Embed processing 3 into swing

徘徊边缘 提交于 2019-12-06 05:13:30
问题 I'm trying to integrate Processing 3 into a swing application, but because PApplet doesn't extend Applet anymore I can't just add it as a component right away. Is there anyway of embeding a Processing 3 sketch into Swing, it would be enough if I could just open the sketch in a seperate window without the PDE. 回答1: You can run a sketch from Java by extending PApplet and then using the runSketch() function to run that PApplet. It'll look something like this: String[] args = {"MyPapplet "};

Spring-test and ServletContextListener in web.xml

感情迁移 提交于 2019-12-06 05:11:55
问题 i try to use spring-test(3.2.10) and integration tests with TestNG by this link. I created RootTest.java @WebAppConfiguration @ContextConfiguration("file:src/test/resources/root-context2.xml") public class ReferenceServiceTest extends AbstractTestNGSpringContextTests { ... spring context loaded success. But my global variables not instantiated because web.xml ignored. In web.xml i have my own "listener-class"(implementation of ServletContextListener) and "context-param". How i can load web

Quickly implement, deploy a Webservice in Java

帅比萌擦擦* 提交于 2019-12-06 05:07:48
问题 I have a large system written in a mixture of C++, Java, Python. I have to interface a very small subset of this system with a web portal using webservice technology. Webservice is not critical and it has to expose 3 or 4 methods. What is today the quickest way to implement this in Java? I thoughted AXIS+Tomcat. Maybe is there any other newest library? 回答1: What is today the quickest way to implement this in Java? I thoughted AXIS+Tomcat. Maybe is there any other newest library? Yes, there is

Spring 3 MVC Controller integration test - inject Principal into method

ぃ、小莉子 提交于 2019-12-06 02:07:46
问题 As part of Spring 3 MVC it is possible to inject the currently logged in user (Principle) object into a controller method. E.g. @Controller public class MyController { @RequestMapping(value="/update", method = RequestMethod.POST) public String update(ModelMap model, Principal principal) { String name = principal.getName(); ... the rest here } } This is documented as part of the Spring 3 documentation here: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc

Is there an easy way to integrate jshint with netbeans?

南笙酒味 提交于 2019-12-06 02:06:14
问题 Searched the net for a jshint plugin for netbeans, but found none... Can anyone describe or show an easy solution for jshint integration in netbeans? 回答1: There is no good plugin for netbeans. Install node, use grunt and start rocking! :) 回答2: I think this may work for you: jshint 回答3: Netbeans has two plugins for Javascript code quality. JSHist : It is relatively new, It was added on Dic-2013 Only supports version 7.4 of Netbeans and JSLint : It seems that is working as plugin since a while,